Fedora Security :: Tweaks For Storing Information In Ram?
Nov 19, 2010
I've been looking for a tweak that would allow me to store temp and log files in ram. I've found a few that involved editing the fstab file, but they were either Ubuntu articles or they were over a year old and perhaps didn't apply to Fedora 14.I hear there is also a 'noatime' command that can help speed up processes by telling the kernel not to saved when files are accessed.And what are the advantages and disadvantages of noatime, and writing log/tmp files to ram?
View 7 Replies
ADVERTISEMENT
Mar 1, 2010
I have the following code snippet:
Code:
my $file = 'test/mybigfile';
my $zip = Archive::Zip->new();
my $zipped = $zip->addFile($file);
[code]....
it simply takes a file (in this case, "mybigfile") and creates a ZIP file containing that file only. Now, my problem is that when I go to decompress the ZIP file, it creates the relative (or absolute, depending on case) path of the original file. To make an example:
Code:
$ pwd
/tmp/perl
$ ls -R
[code]....
What I need is *not* to store the path information inside of the ZIP file, so that once I decompress the ZIP file I only get the original one without having paths created.
View 2 Replies
View Related
Aug 26, 2011
This used to work in Fedora < 15. Whenever I want to send an e-mail using Gmail's SMTP server for the first time in a given session, the KWallet system asks if I would not rather migrate the password and store it encrypted inside a wallet. Every time I concur and every time an error message pops-up, as soon as I try and send another e-mail. The attached snapshot shows the error message I get. It doesn't matter how many times I select "Store Password". Every time the ordeal is the same. Up to Fedora 14 this method worked all right, but now it fails.
View 1 Replies
View Related
Mar 18, 2010
I wanted to set up Computer Lab. loading Fedora 11 OS and one system acting as a Server to store Users(Student) Login Informations. When students do a programs, all programs (eg, C++ programs) files should be saved in the local fedora system but when login to the system, the login should be validate by a Server System.
View 5 Replies
View Related
Jan 1, 2009
I'm relatively new to Linux, but willing to take a plunge and climb the steep learning curve! I've recently installed Fedora 10 on a spare box I'd like to have running in the lounge by the TV as a TV recorder. Before starting out with MythTV, I would like to get the box running the basics... and hit no major snags with display / audio drivers. I've finally managed to connect to the box via VNC from my macbook over the wireless network. The Apple standard client is slow over wifi, so have started using 'Chicken of the VNC' as the client. At the server end, I intalled vnc-server via yum. I've also tweaked things in ~/.vnc/xstartup so that my default window manager over vnc is gnome.
[Code]....
View 3 Replies
View Related
Sep 3, 2009
I'm trying to write a program which would get information from a webpage and display the information on my desktop sort of like a widget. I kind of remember there being something like this already made, but for the life of me I can't remember what it's calledDoes anyone know?
View 1 Replies
View Related
Oct 12, 2010
I need to review what people are using the printers for at work.I was wondering how I can do this under fedora. I basically need to store a copy of the printed jobs and view them afterwards..
View 5 Replies
View Related
Dec 6, 2010
As a matter of routine, I use dd to collect my hard drive master boot records, and I save the resulting file someplace where I can always get to it if I have to. It has occasionally saved me when some kind of disaster has struck and damaged a partition table or rendered a drive unbootable.Since I have switched to a fully encrypted system, I have been wondering exactly how to save the dmcrypt information. Dmcrypt works with a standard filesystem, and the filesystem itself isn't encrypted, only the contents.Thus dmcrypt must write a header someplace that includes all the information needed to decrypt the contents of the partition, including the key and the type of encryption employed.
Should something happen that causes that header to become corrupted, the entire partition is inaccessible and no recovery tool will work. So, it would seem like a really good idea to use dd to copy that header someplace safe.Now, I haven't taken the time to sit down, read the dmcrypt code, and try to figure out how to do it from that. The command cryptsetup luksDump doesn't do what I want because it dumps that information, but not in a format that would be immediately useful in copying the information back to a damaged partition. And every howto I've found tells me how to set up dmcrypt, and encrypt partitions and so forth. None tell me how to recover this information, other than mentioning that it is stored in the first few sectors of the partition.
Looking at some of this through a hex editor, I *think* that saving the first 512 bytes of the partition gives me what I want, but I'm not positive of that and I hesitate to depend on any putative backup scheme of this sort that I haven't vetted. I want to save no more than I need, and I certainly don't want to save any less than what I need.Edit: As I think about it, the first 512 bytes can't be enough because Luks/dmcrypt permits multiple keys. So how much information do I need to save?
View 5 Replies
View Related
Feb 4, 2010
Making a script. This is for my linux class. Basically when you run it, whatever directory it is in, zips everything, backs it up to the folder its in, and also makes a copy of it in the root directory. Here is what I have, but its not running right.
Code:
#!/bin/bash
echo
echo
echo "Automate Backups"
echo -n "Would you like to backup? Y or N:"
read answer1
if [$answer1 = "y"]
then
if [$USER = "root"]
then
echo
tar -cPvzf "$USER"_backup.tar.gz.`date +%F` /"$USER"/*
cp "$USER"_backup.tar.gz.`date +%F` /backups/"$USER"_backup.tar.gz.`date +%F`
echo "Successful Backup"
fi
echo
tar -cPvzf "$USER"_backup.tar.gz.`date +%F` ~/"$USER"/*
cp "root"_backup.tar.gz.`date +%F` /backups/"$root"_backup.tar.gz.`date +%F`
echo "Successful Backup"
View 14 Replies
View Related
Jun 25, 2010
Im using Ubuntu 9.10.When I use Nessus scan to scan my computer I can receive information about how match RAM, how man CPU etc.
View 1 Replies
View Related
Jan 13, 2010
Why can't Ubuntu store configuration information in a way that it wouldn't need to be clobbered in order to apply security updates? For example, this mornings updates told me I had to choose between using a new version of smb.conf that's part of the security patches, stick with the old version, or let the update installer merge them. Of course, the first two choices have obvious drawbacks: why should I have to choose between losing all my SMB settings or refusing security fixes? So I chose the merge, which came back with "Conflicts found during three-way merge! edit `/etc/samba/smb.conf' and sort them out manually."
View 5 Replies
View Related
May 28, 2011
I searched Using my User Name and did not find the post post made for this problem.Still the search using the User name does not return the first post or this.
View 4 Replies
View Related
Jun 15, 2010
We've had a site broken into, and several of the desktop computers physically stolen. The Ubuntu 9.10 router/gateway/firewall/web filter box has however NOT been stolen. I'm wondering if there is any information we can get from this that would help the police.
NAT and firewalling are handled by firehol. It runs a DHCP server to provide the desktops with IP addresses. It runs a Samba server with some file shares. It runs Squid and Dansguardian in an intercepting-proxy configuration. Of particular interest might be whether the MAC addresses of the stolen desktops can be obtained, which might help with tracking them down. Also anything to narrow down the time of the break-in.
View 2 Replies
View Related
Apr 12, 2011
This may be a stupid (?) question, but does any one know of a patch for sudo that allows the sudoers information to be pulled from mySQL?
I run multiple servers with multiple people working on them and would like a one-stop update of permissions.
Yes, I could use rsync or the like, but I'm just wondering if this has been done, or could be done.
(Sorry if this is the wrong forum, I'm kinda new around here, posting wise and this seemed to fit. Feel free to move it if it's not)
View 3 Replies
View Related
Aug 7, 2011
Anyone know what tweaks are needed for above set up?
View 5 Replies
View Related
May 27, 2010
I've done the making tweaks tab and now the breadcrumbs are still not showing.
View 3 Replies
View Related
Sep 3, 2010
I'm doing a lot of print to file and selecting pdf. It is an awesome feature. But I'd like to add a location to the "Save in folder" drop down menu. What would be better is to add a location, and then make it the default location. It would also be awesome to change the default from .ps to .pdf. This would greatly speed up my save to file process.
View 2 Replies
View Related
Nov 22, 2010
I want more program like ubuntu tools and ubuntu tweaks
where can i find it
View 5 Replies
View Related
Jan 7, 2010
I have just installed Ubuntu for the first time, and I installed sucessfully World of Warcraft, but I'm noticing some networking issues where my whole network connection seems to pause for about 5-10 seconds at a time, which I finally realized when I played WoW. So i was curious where the settings are that I can change to possible eliminate that, or what others have done to increase their network throughput on their cards.
I'm running Unbuntu 9.10 64bit with the latest version of Wine from the Synaptic Package Manager. The router is a LinksysWRT54G3G-ST and my wireless network card I think is something made from MSI I don't see where to find out what drivers are installed on it I'm probably just looking in the wrong place or I'd give more information on the card.
View 9 Replies
View Related
May 7, 2011
On my initial move from Ubuntu to Xubuntu my FPS dropped from around 36 to 4.Recommendations from WINE were to make sure I was using proprietary drivers, and that any desktop affects like compiz fusion were disabled. Opening Menu > System > Additional Drivers revealed the following:
Querying this in #xubuntu on Freenode I learned that there is a known bug that drivers will be in use although this applet may report otherwise. On activating the other driver, reactivating the original 'current version', and rebooting, lspci -k outputs:
Code:
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
Subsystem: Dell Device 01dd
Kernel modules: i2c-i801
01:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 LE] (rev a1)
Subsystem: Dell Device 0405
Kernel driver in use: nvidia
[Code]...
View 4 Replies
View Related
Apr 22, 2011
I have a dell studio hybrid PC which I am hooking up to my TCL brand 40" LCD TV to use as a media center pc. The problem I am having is that I can't get the TV's native 1920x1080 resolution to display properly. The rendered desktop doesn't quite fit in the screen (I think its the top and bottom edges that are cut off) so for example the menu bar at the top is completely off the screen.
1680x1050 works fine in the sense that it fits the full desktop to the screen size, but its not the native res. In the resolution changer utility, it recognizes that my TV is a TCL brand but mentions 36 in the model name (the TV I have has 40 in the model name to denote 40") so I think Ubuntu is recognizing the wrong size TV. How can I finagle the screen settings to make the 1920x1080 fit properly on my monitor? Or get Ubuntu to correctly recognize my TV? My TV is a no-name brand so its hard to find info on it or others setting up linux with it.
View 3 Replies
View Related
Jul 30, 2011
How would you make NIS user information override local user information on client systems? This is what I think is right? Add nis on the passwd registration file on the second line Is this correct?
View 1 Replies
View Related
Apr 12, 2011
Can anyone suggest any good tweaks to speed up network please?
View 3 Replies
View Related
Apr 5, 2011
In my recently installed openSUSE 11.4 system I am using Kwallet to store all of my private passwords and also those associated with my Kmail accounts. All of these passwords appear correctly in Kwallet, but it seems there is a problem with Kmail accessing them.Whenever I start a new session, Kmail loads first and is followed by Kwallet. When Kmail then tries to do its first mail retrieval it stops and asks for the account password. I type this in and then Kwallet requests its administrator password. Once I type this in, my mail is downloaded and I get no further request for the passwords during that session.
The same thing happens when I attempt to send my first email of the day. I get a Kmail request for the SMTP account password. I've tried changing the Kwallet settings so that it doesn't close when unused for a period,or when the screensaver kicks in, but this (predictably) has no effect. In the Access Control screen, both KDE Wallet Manager and Kontact are shown as 'Always Allow' and I can see no other settings in either Kwallet or Kmail which are relevant to the problem.My guess is that the problem occurs because Kmail starts up ahead of Kwallet and therefore doesn't load the passwords initially. But that may be a red herring as I'm not familiar with the way Kmail and Kwallet interact.
View 4 Replies
View Related
Apr 14, 2010
I'm interested in storing my SSH keys and gpg keys on a smartcard for added security. However, I'm a bit uncertain on a few points, which are as follows:
How many keys can I get on a card? I assume both SSH and GPG can store keys on the card. Is there a limit to key size? I see a lot of cards saying they support 2048-bit keys, what about larger sizes? Hardware: can anyone recommend a card/reader combination that works well? I've done a fair amount of research and it seems PC/SC readers can be a bit iffy - is this your experience? Have I missed anything I should be asking? Are there any other hurdles?
I'm aware fsf europe give away cards with membership - I'm not sure I want to join, but... are these cards any good?
View 3 Replies
View Related
Nov 24, 2010
i'm using awk inside bash. i've got an array in awk called arrayinawk. everytime i call another awk command in bash i have to keep creating arrayinawk to work with it. is there anyway i can store arrayinawk in bash and just call the stored value next time i use awk?
View 14 Replies
View Related
Apr 30, 2010
I'm writing a command-line flash card program in Python. I've tried many existing applications, but none fit my specialized needs.
All of the words I'd like to study are manually added to a text file (study.txt). Each time the software is loaded, it checks for new words in that file and also compares them to a dictionary (a tab-separated file, dictionary.txt), and adds that to a matrix. The flash cards are thus automatically generated from study.txt and dictionary.txt.
Now, the software must manage lots of information about each word I'd like to study and add new information made while interacting with the program (such as when that word should be studied next).
That seems easy to put into a matrix. But what is the best way to put that information in a place where I can pull it back when I run the software tomorrow? Do I need to save the matrix to a CSV file, then convert the CSV file back to a matrix the next time the application is run?
View 1 Replies
View Related
Dec 15, 2010
I have a program that sends QByteArray datagrams over a udp socket. I would like to have 4 bytes of the datagram that contain a 32 bit integer. When saving numbers to the QByteArray, I have tried the static function number(int) and member function setNum(int), but they convert the integer to its decimal string representation and save that in the byte array. So if the number were 10, it takes 2 bytes, if it were 10,000,000 it takes 8 bytes. This wastes space, and makes it more difficult to get the number when it is packed with a few other pieces of data in the same datagram. Is there a standard way of doing this in Qt?
View 1 Replies
View Related
Sep 17, 2015
Here is my script to create a sitemap with wget:
Code: Select all#!/bin/sh
wget --spider --recursive --no-verbose --output-file=wgetlog.txt http://http://www.cyberciti.biz/
sed -n "s@.+ URL:([^ ]+) .+@1@p" wgetlog.txt | sed "s@&@&@" > sedlog.txt
I named it Nixcraft.sh and in /Home I had made it executable via the file properties. In the terminal I entered:
Code: Select all./Nixcraft
and got
Code: Select allbash: ./Nixcraft: No such file or directory
View 14 Replies
View Related
Apr 8, 2011
Using imagewriter, I was wondering if it's possible to store backup files on it. I have a 8GB usb drive but the imagewriter uses less 2GB to write the iso to it.
View 1 Replies
View Related