Fedora Security :: DNS Cache Clearance On Hourly Basis?
May 25, 2010What command would I use to clear dns and cache on a hourly basis.
View 1 RepliesWhat command would I use to clear dns and cache on a hourly basis.
View 1 RepliesI need to process a log file on an hourly basis but the log only rotates once a day.Basically, I am trying to get the difference between the previous file and the current file based on datetime. ie. The new file's datetime events > previous file's datetime events.The first field in the files is datetime.
Code:
2010-10-27 01:57:32,aaa.bbb.ccc.ddd,host1
2010-10-27 01:57:32,aaa.bbb.ccc.ddd,host2
[code]...
is it considered standard practice to change the user password on a regular basis and if so how often?
View 4 Replies View RelatedI don't understand this error nor do I know how to solve the issue that is causing the error. Anyone care to comment?
Quote:
Error: Caching enabled but no local cache of //var/cache/yum/updates-newkey/filelists.sqlite.bz2 from updates-newkey
I know JohnVV. "Install a supported version of Fedora, like Fedora 11". This is on a box that has all 11 releases of Fedora installed. It's a toy and I like to play around with it.
history -c will clear the previous history.
~.bash_history will contain the history commands
I want to know how to delete the particular history using the history number.
For eg:
.
.
.
440 cd
441 ls
442 history
Then to delete the 440 the history how can I do it from the command line.
how to config details of samba with commands not from gui
View 2 Replies View RelatedI have an odd problem - that I'm having difficulty tracking down the cause!
Since upgrading F12 I have had varying levels of success booting in. Let me explain.
1. Boot
2. Plymouth graphic progresses
3. Freezes at GDM/login screen - Mouse freezes and Keyboard lights flash
4. Hard Reset with pushed in power button
5. Repeat with different kernel - usually the same result (the only exception appears to be 2.6.31.5-127.fc12.i686 kernel - this appears to have a better boot success than the other kernels listed)
In particular the .PAE kernels do not boot AT ALL ( this includes the 6-145 and 6-162 kernels). However the .PAE kernels did work on F11!
ABRT does seem to capture the following kerneloops (url very frequently (yes I do return them to kerneloops)
BUT on reviewing the /var/log/messages file they don't appear to coincide with these boot failures times!
I have an rsync script I wrote that I have tested and it works perfectly when I run it manually. Now I am working on a server setup script and I have gotten my setup script to create the rsync script in /etc/cron.hourly and restart crond. To spite the fact that the script is in /etc/cron.hourly and I have restarted crond, the script does not run. With that said, how can I script adding the rsync script to run hourly as a cron job?
View 9 Replies View RelatedSo, my mother is out in the deep country and all we can get is Xplornet Satellite internet. They have a fair access policy (FAP) that says they will (and definitely do) throttle your speeds if you download more than 50MB or upload more than 5.5MB in one hour. This restriction resets hourly. As you can imagine, this is fairly limiting, but we have to live with what we have as there are no other options specifically where we live. Right now, I have Conky configured to show the ${totalup wlan0} and ${totaldown wlan0}, but that is per session. In this example, since the computer started, 8.74MB have been downloaded and 1.95MB uploaded. However, this information is somewhat irrelevant as we really only need to know the current usage starting at the top of the hour. Maybe even show the previous hour too.
View 9 Replies View RelatedHow i can configure an hourly graph on munin?
View 2 Replies View RelatedI messed up when I chose my server for slackpkg updates, I chose one for Slackware13 rather then Slackware13 64. This caused some issues when I accepted the updates. I got a fair bit up and running again, but one thing that seems to be messed up is my cron.hourly scripts. I am not entirely sure what happened, but they are not running.
View 2 Replies View RelatedI was laughing about klackenfus's post with the ancient RH install, and then work has me dig up an old server that has been out of use for some time. It has some proprietary binaries installed that intentionally tries to hide files to prevent copying (and we are no longer paying for support or have install binaries), so a clean install is not preferable.
Basically it has been out of commission for so long, that the apt-get upgrade DL is larger than the /var partition (apt caches to /var/cache/apt/archives).
I can upgrade the bigger packages manually until I get under the threshold, but then I learn nothing new. So I'm curious if I can redirect the cache of apt to a specified folder either on the command line or via a config setting?
I installed squid cache on my ubuntu server 10.10 and it is work fine but i want to know how to make it cache all files like .exe .mp3 .avi ....etc. and the other thing i want to know is how to make my client take the files from the cache in the full speed. since am using mikrotik system to use pppoe for clients and i match it with my ubuntu squid
View 1 Replies View RelatedI am reading slab allocator, it defines slab cache, i am quite confuse is it same as hardware cache?
View 2 Replies View RelatedI have Compaq Presario CQ62-215DX notebook (laptop) computer with built in image of Windows 7. I use partitioning tool to create partition of 250GB hard drive. I created these partitions as NTFS partition. My issue is after creating partition of 75GB whereby I want to install Ubuntu using ubuntu-10.10-desktop-i386.iso file from dvd drive; I cant install.
I use ext4 file system to install ubuntu and mountpoint is root After user setup it stops at this point:
UBUNTU CRON [9354]: (root) CMD (cd/run-patsreport/etc/cron.hourly)
It doesnt install ubuntu on separate partition. how to install ubuntu on separate logical partition? Windows 7 is in primary partition.
i was looking for a way to stop my menus taking a few seconds to load my icons when i first open them and found a few guides suggesting using the gtk-upate-icon-cache command, but with the any colour you like icon theme i'm using (stored in my home folder .icons directory) i kept getting a "gtk-update-icon-cache: The generated cache was invalid." fault i used the inbuilt facility in the acyl script to copy the icons to the usr/share/icons directory and tried the command again, this time using sudo gtk-update-icon-cache --force --ignore-theme-index /usr/share/icons/ACYL_Icon_Theme_0.8.1/ but i still get the same error. i tried with several of the custom icon themes i've installed and only 1 of the first 7 or 8 i tried successfully created the cache.
View 4 Replies View RelatedI know many apps have their own independent volume controls, but not all do. Is there any way to control this in a similar manner as Windows 7?
View 4 Replies View Relatedinside my Linux I am using virtual box to launch windows xp. I have one shared folder between the operating systems so as to share my files As I can not trust virtual box and windows xp... can you suggest me an easy way to take daily backups of one of the folders I have inside that shared folder?The files are mostly html files so the file size is not so much of a problem (at least I think!)How can I take daily backups so to not lose something?
View 6 Replies View RelatedI'm attempting to give a few buddies encrypted storage space through sftp using truecrypt.I have it worked out to the point where the truecrypt volume is automatically mounted when the user logs on, and dismounted when they log off.I would like to restrict each person to their individual home folders. This way, I can control exactly how much space each user is able to use (through the size of the truecrypt volume), while maintaining security through the network due to using SFTP.
I've been looking around, and the only thing I can see is restricting a large group of users to a single directory, this won't work, I need each person to be locked down to their personal home directory.My end goal is to have these volumes "mountable" in Windows through the use of Windows network drives (on a wide network, not through samba on local), or by using expandrive or a similar program. how I can lock these users to their respective home folders?
I'm wondering if it's possible to control what applications are available to certain users on a per user basis.
My motivation:
I have separate logins for audio production and general admin. Under Applications > Sound & Video I have tonnes of audio apps, but as I never use these under my general admin account, there's little reason to list all of them.
how is the applications menu configured? I'm wondering because I'd like to create some custom sections.
I am currently doing RHCE. I want to make projects on basis of this.
View 8 Replies View RelatedI currently use two laptops: a macbook which dual boots OSX and Ubuntu 10.10 and a Dell Latitude which dual boots Vista and Fedora 14 64bit. I would like to know if it is possible to backup the Hard drive as a whole rather than on a per OS basis. If this is possible a linux program for doing such would be the preferred method as it is common to both machines.
I am open to anything that effectively and reliably backs up both machines respective disks in such a manner which allows for practical restoration. This does not have to be done from one OS though this is my preference.
I am using Fedora 11 64-bit. The problem is, when I start to install any updates or new packages, the system return the following error:No package cache is available.The package list needs to be rebuilt.This should have been done by the backend automatically.
Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again.I am completely new to linux, meaning I have never, ever, used a linux based system. I have recently accustomed to myself with only the basic commands (ls, yum, help, g++ etc.)
I have a small older HP OB6000 laptop with F14 on it and only 10GB of disk.
I've been weeding out a lot of packages I don't need on it to carve more user disk space.
One of the biggest disk consumers is /var/cache/yum. My problem is that even after a yum clean all it still consumes over 450MB.code...
Is there a way in Linux to give a specific application more/less priority for network bandwidth? Something like how nice does for CPU priority.
Context: I'm currently on a very low bandwidth connection (3G dongle). While I'm performing a quite large upgrade using aptitude, it becomes virtually impossible to browse the web since the upgrade download is hogging my Internet connection.
So what I would like to do is somehow decrease the network bandwidth priority of the aptitude process (and all its children) so that it won't use too much bandwidth while another process is using it.
I've decided to move this question into a new thread since i haven't received an answer for 3 days. This question was originaly posted here: [URL]... I've already searched in google, however i wasn't able to find an answer that solves my problem... How can i change the umask on a per user basis so that each user can have its own umask to fit his needs? For example: I have four accounts on my system ex.
admin1 : admin,
admin2 : admin,
manager : stuff,
user : user,
-So now I want everything from the admin group to be by default set to 002 (so that every user that is in the admins group can have a full share (-rwx rwx r--) of everything that is created by the admins).
-Then the similar to the above managers shoud have 022 umask.
-And each of the regular users should have 002 or 022 or 077 it is up to the users choice.
I hope that i have provided enough info thorough the example.
Is there some way of getting plane wave basis set on gamess or gaussian. If not suggest a software with this facility.
View 1 Replies View RelatedSlackware: 13.0
After having some problems with iptables not picking up automatically (without restart) the transition from winter time to summer time, and on advice from the iptables/netfilter mailing list, I've decided recently to go down the Unix way and set my hardware clock time to UTC/GMT instead of local time. I am, however, having some difficulty reconfiguring my entire machine to cope with this change.
1. I've used /usr/sbin/timeconfig - which took care of system wide timezone. After that, if I opened a terminal, du "su root" - and then check the date - it looks good. Doesn't affect though the logged in (non-root) user. Running "date" in bash window for logged (non-root) user returns wrong time (UTC) instead of local time.
2. I've added an export statement in ~/.bashrc, to set the timezone for the user account I use. That fixes the time for the logged in user, but only in the terminal. The time in fluxbox/X is still the UTC time.
Where is XOrg taking it's timezone for the logged in user? Do I amend/add to XOrg.conf? At the moment there is nothing about time zone in Xorg.conf (only contains few tweaked settings I've added to it - as I believe most of the rest is autoconfigured). I've searched - but couldn't find how Slackware configures timezones for individual users - aside from the timeconfig utility used during setup.
I have enabled the option to keep the yum cache when updating Fedora 12 and I was wondering if there was a way in which I could remove old versions of the same package from the cache?
I have Fedora installed on more than one machine and I make them share a common update location for their updates to avoid downloading the same packages twice (bandwidth quota expensive in Australia).
how I could accomplish that? yum clean doesn't seem to have any options to only remove old packages!!!
Example: The yum update cache has:
wireshark-gnome-1.2.5-3.fc12.x86_64.rpm
wireshark-gnome-1.2.6-1.fc12.x86_64.rpm
I wish to only keep the most recent version that is wireshark-gnome-1.2.6-1.fc12.x86_64.rpm, but for all the packages.
I can't find how to clear ABRT cache (other than to forcibly 'rm -rf /var/cache/abrt/'). How does one clear out the pile (which has grown to 1.2 GB here)?
View 3 Replies View Related