General :: DST Time Change For Positive Timezones Not Working?
Jan 11, 2010
I was doing some testing which is required for some of my products
Here is the strange behaviour i observed
First i did set the timezone to PST 2010 (which is less than GMT basically negative timezone)
zdump -v /etc/localtime |grep 2010
/etc/localtime Sun Mar 14 09:59:59 2010 UTC = Sun Mar 14 01:59:59 2010 PST isdst=0 gmtoff=-28800
/etc/localtime Sun Mar 14 10:00:00 2010 UTC = Sun Mar 14 03:00:00 2010 PDT isdst=1 gmtoff=-25200
[Code]....
Note:in the above case when i did set time to 2:59:55 and said ok by then CEST became CET already. That could be the reason why DST is not happening.
I tried with few other positive and negative timezone configuration all the negative time zones resets back properly where as all the positive timezones doesn't
All my timezone files are up to date,i am using fedora 9
View 2 Replies
ADVERTISEMENT
May 13, 2011
I have a question regarding how timezones are working.
Indeed, if I configure "TZ=BST", I get: sh-3.2$ date
Fri May 13 07:43:39 BST 2011
And when I configure "TZ=Europe/London", I get:
sh-3.2$ date
Fri May 13 08:43:20 BST 2011
There is no BST file in /usr/share/zoneinfo, so I am asking how it is managed for BST settings and why it is different from setting Europe/London.
View 3 Replies
View Related
Jun 19, 2011
Under a Linux shell, how can I change the creation time of all a folder's files to the current time?
View 2 Replies
View Related
Mar 24, 2010
I have a linux (Slackware) machine and the time/date is like, June 23rd 2003, 10:00am (It's 11 here) and I am not able to set the time to have it correct. I change the timezome to Montreal but the time is still wrong.
Is there a way to force it to sync with my domain controler or even another online NTP server?
View 1 Replies
View Related
Sep 8, 2010
I'd like to read opinions from people have been using either one of the two GUIs for quite a while.What do you prefer the GUI you use?
View 9 Replies
View Related
Jan 8, 2011
From gui, how can I change my time from am to pm? or How to do it using date command?
View 7 Replies
View Related
Nov 11, 2010
I want to transfer files from one comp to another. Its a few hundred gigs. Since the pc crashed i am using knoppix to access the drive and sharing over samba.
I'm using robocopy to copy the files. But i have a small problem with sleep. Every 30mins or maybe an hour knoppix goes to sleep and my transfer stops. How do i change the time or disable it completely? so i dont have to tap a key every 30mins
View 1 Replies
View Related
May 28, 2011
How can I get the last time any of the files in a directory or its subdirectories has changed?
e.g
Dir - changed 1/1/1
Sub Dir 1 - changed 2/1/1
Sub Dir 2 - changed 3/1/1
File 1 - changed 10/1/1
File 2 - change 5/1/1
The output for this for Dir should be 10/1/1 (File 1 was the last modified one). Getting the last file name to be modified is a bonus but isn't necessary.
View 3 Replies
View Related
Jul 16, 2010
I need to change my hardware time and date as my hardware time don't right but I don't have network. I need the the commands and the steps.
View 5 Replies
View Related
Jun 21, 2010
i am using squid proxy on centos 5.x release with stable version. during installation time i fixed date time region.it was basicaly gmt +3:00 hours. so everything was fixed, now since past few days every 24 hours it change its time automaatically. this looks like it take update somewhere from internet or internally something is mess up.could someone guide me how to fixed permanantly date time. even either restart the machine or passing 24 hours it do never change it. etc
View 2 Replies
View Related
Jul 1, 2009
I know there exists a touch command to change the date of the files. However, I want to change the files of a directory and the directory time. Is there a command like -R. Please provide me an example of the command?
View 4 Replies
View Related
Jan 5, 2010
I have installed nagios in a CentOS vm and now its monitoring the local host, one remote host which is also a vm with CentOS 5.3 and one windows xp system. Is there any option for me to change the threshold time for the services given? For e.g. I had a service of current_load which comes as a default plugin while installing nagios itself. What should I do to change the threshold value of the current_load so that I might get the warning or error alert some time earlier as it was now.
View 5 Replies
View Related
Jan 6, 2010
I need some help recovering from a "slight" screwup. We just moved 3 TB of data from one RAID Array to another. Low lever archive files. This was done with a regular cp (for some reason) and now we have lost all the timestamps on the files, and we urgently need to get the timestamps back on these files.
We are running Ubuntu 9.10 Server and we have mounted the following
1. /mnt/old-raid ##Old raid from the old server
2. /mnt/new-raid ##New raid on the server
I know we can read out the timestamp on the old server using the command stat -c '%Y' <<filname>>
I know we can change the timestamp of the file, using the command touch -d '<<date>>'
To get from the stat -c date to the input date in touch we need to use date -d @<<timestamp>> +'%d %b %Y %R'
So my question is, how can I create a loop that will list all files in a folder, get their timestamp and update the old timestamp with the new?
View 4 Replies
View Related
Apr 18, 2011
I installed a newer version of python in /usr/local/bin/python2.6. Now I want to use that python and only that one. When I type "Which python", I want to see /usr/local/bin/python2.6, NOT /usr/bin/python, which is old one (2.4). Also, I want to see the same even after I reboot. How do I do that?
View 2 Replies
View Related
May 6, 2011
I need to edit the system time as a not-root user. I am carrying out the following actions in my program.
1. Read the User Id of the process. User_ID= getuid()
2. Printing Capabilities(Permitted, Efffective, Inheritable)of the process
3. Setting UID = 0, using setuid(0)
4. Calling the prctl(), function to keep capabilities
5.Switching the UID from root to User_ID of the process
6. What we have now is a process with root capabilities as a non root user
7. On printing Permitted, Effective, Inheritable capabilities, I get the following
--> Permitted = 0xfffffeff = Effective
Inheritable = 0x0; with UID = 1001;
8. I then try and set the system time with --> system("date -s 10:00");
9. I get an error: date: cannot set date: Operation not permitted
10. I am unable to understand as to why I cannot set the time even thought the capability bit CAP_SYS_TIME in the Permitted and Effective sets are SET.
View 3 Replies
View Related
Jun 10, 2011
I have a backup server that is a backup destination for 10 servers.
Unfortunately each of those servers is in a different time zone. When Rsyncing to this box, it misses some files because the timezones are different.
View 3 Replies
View Related
Nov 10, 2010
I am using the following to find the Day of the Week on my server which is in UTC.
Code:
But say if I want to find the Day of the Week in another timezone, how would one go about it. I had a look at date --help but could not find any timezone related switches so am not sure if this is possible using this method.
Update:
This appears to work but is this the only way?
Code:
View 2 Replies
View Related
Jan 5, 2010
I have just been checking one of my machines with rkhunter and got the following result:
Code:
[17:50:08] Warning: Checking for possible rootkit strings [ Warning ]
[17:50:09] Found string 'hdparm' in file '/etc/init.d/checkroot.sh'. Possible rootkit: Xzibit Rootkit
[17:50:09] Found string 'hdparm' in file '/etc/init.d/bootlogd'. Possible rootkit: Xzibit Rootkit
Using a well known search engine shows that others have come across this before: [URL] I have installed the current version of rkhunter from Debian's Unstable repo,but i still have the same result as above. I now check the rkhunter wiki,which mentions the same problem: [URL]
Quote: Here is an example on my system to remove a false positive for a certain rootkit that hit hdparm.
[Code]....
View 4 Replies
View Related
Oct 25, 2010
Is this a false positive from rkhunter?
/usr/bin/curl [ Warning ]
/usr/bin/ldd [ Warning ]
Chkrootkit came back ok. Running ClamAV and will only add that here if it finds anything. I just neve remember seeing these before. This is in Ubuntu 10.10
View 2 Replies
View Related
Jan 14, 2010
I dont want to allow the user winny on saturday and sundays. I added the following line in the /etc/security/time.conf file.
login;*;winny;!SaSu0000-2400
Then i added the following line in the /etc/pam.d/login file.
account required pam_time.so
this is the first line of that login file. But if i tried to login with the username winny it allows me to get log in. Is anything has to be change?
View 14 Replies
View Related
Sep 27, 2010
mounting file system in centos,(NTFS) I am able to mount hda5 which is NTFS in centos by editing /etc/fstab, but not able to mount sda7( also NTFS)at that same time,however after editing /etc/fstab i can mount one HDD at any time, making both entries in /etc/fstab is not working. BOTH HDDs are NTFS , one is SATA and other is IDE.
View 7 Replies
View Related
Nov 28, 2010
Okay so I am a total newb to linux. I installed Ubuntu using Wubi and am trying to figure out how to get my wireless connection working. It occurred to me I may not have the right driver for use with Ubuntu for the wireless connection at my house. I couldn't find anything on the web to help..it appears I have a realtek RTL8102E wireless card in my laptop. I have absolutely no idea how to resolve this situation..I've looked on the web, but everythings pretty confusing. If I could get the wireless working it would be a good first step.
View 3 Replies
View Related
Oct 14, 2009
My flash player hasn't been working for some time and I downloaded Flash Player 10 tar.gz from the Adobe website.I followed the instructions on various websites as the ones on the adobe website were too complicated for me, and after eventually figuring out how to open a terminal window, the commands wouldn't work.
View 2 Replies
View Related
Sep 20, 2010
I like the clock applet in my system tray. It's nice to pull it open and see the time in other locations.
However, because of bandwidth, I'd like for it to stop requesting weather updates.
Is there a way to prevent the weather from being requested while still showing the locations, and timezones on the clock map?
View 2 Replies
View Related
Sep 28, 2010
On Karmic, every once in a while this error pops up near the notification area at the top right (also see attachment):
Timezone Errors See Error Console: Unknown timezones are treated as the 'floating' local timezone.
But the 'date' command shows the correct date/time and timezone. /etc/timezone is also set correctly. The machine is running ntpd and is connected to the net 24/7 via ethernet. I also don't see any 'timezone' errors in /var/log/* Which software is complaining? What is the "Error Console" it is referring to?
View 5 Replies
View Related
Apr 25, 2010
way to remove open-whois.org as an rbl from /usr/share/spamassassin/50_scores.cf/usr/share/spamassassin/72_active.cfIt's creating a lot of false positives on a mail server i am using with ubuntu. i noticed only ubuntu lucid is using updated spamassassin 3.3.1 and all others are using 3.2.5i was on spamassassin's website and noticed this issue has been resolved on spamassassin 3.3.1 but not 3.2.5i tried looking in those files but they are too complicated for me to understand.i am assuming they manually have to be removed.can anyone help with the open-whois.org rbl removal from mail servers as it is currently squatted and creating false positives?
View 5 Replies
View Related
Jul 28, 2010
I know several tools that allow tracking time spend on different tasks / projects.Is there any existing tool for very very simplified work-time-tracking.I am an employee, come to the office, switch on my laptop directly. I have mostly around 1 hr lunchtime, but sometimes less, sometimes more.At around 18:00 I want to type one command in the console (or simple GUI would also be okay of course) that tells me:"1 hour overworked. Go home now! (came at 8:00, 1 hour standard lunch-break)."
View 1 Replies
View Related
Feb 5, 2011
I am currently dual booting between Linux Mint 10, and Windows Vista SP2. Wireless works fine in both these OSes, but when I quit Mint and load Windows, 70% of the time my wireless stops working.
ie, it does not detect any wireless networks nearby, althought there are tons of them.
Restarting the wireless device doesnt help, I have to restart my computer at least 4 times for wireless to start working again.
And as of now, my wireless in Linux Mint has stopped working.
View 1 Replies
View Related
Jul 30, 2010
In my college many proxy : port (like 144.16.192.245:8080)are using to get Internet connection, performance of each proxy changes, how can i decide which one is working well at particular time. is there any way to switch over them automatically?
View 9 Replies
View Related
Oct 29, 2010
I'd like to change a files modification date "only" without changing the time. I'm aware of the 'touch' command but is seems like it only allows changing both the date and time, and not one of them. Any ideas on an easy way to change a file's modification date without also changing its time? (I have a long list of files and thus would like to run one to command to change them all)Example: Change a file's (month) timestamp from "2010-09-23 11:59:23" to "2010-10-23 11:59:23"Background: I accidentally set the wrong month on my camera and ended up with all photos having a modification timestamp with the wrong month.
View 3 Replies
View Related