Sponsored Content
Top Forums UNIX for Advanced & Expert Users changing sys clock (PST to UTC) Post 302097290 by OFFSIHR on Thursday 23rd of November 2006 04:32:44 AM
Old 11-23-2006
hi sorry for delay in replying

SUSE LINUX Enterprise Server 9 (i586) - Kernel 2.6.5-7.191-default

I have /etc/sysconfig and clock but not setclock

The person who set up this sys originally didn't change time to UTC Smilie

Prior to reboot I added TZ to .profile, this did change the time to UTC for a non root user account but sys time(from root) is UTC

Thanks for reading this!

Last edited by OFFSIHR; 11-23-2006 at 06:09 AM..
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Linux sys date changing

Could anyone help me on related commands in linux for viewing the current date of system & any command for changing the date of system. Tanx --nikk (1 Reply)
Discussion started by: nikk
1 Replies

2. Shell Programming and Scripting

GMT to PST

I have a file which is tab delimited, it contains the GMT date. Please tell me how to convert from GMT to PST time and if the date and time is of 2 days ago from the current date store the lines in a file or else remove the line. 10.1.10.178 - - - 10.1.10.178 - - ... (2 Replies)
Discussion started by: sandy1028
2 Replies

3. Shell Programming and Scripting

Find and Convert UTC Time to PST Time

Hello All - I have a script that grabs data from the net and outputs the following data 46029 46.144 -124.510 2010 07 26 22 50 320 4.0 6.0 2.2 9 6.8 311 1012.1 -0.9 13.3 13.5 13.3 - - 46041 47.353 -124.731 2010 07 26 22 50 250 2.0 3.0 1.6 8 6.4 - 1011.6 - ... (0 Replies)
Discussion started by: drexnefex
0 Replies

4. UNIX for Dummies Questions & Answers

GMT to PST

99.60.97.205 - - GET /2009-03-29/world/impact.row.atlantic_1_rower-paul-ridley-cancer-research?_s=PM:WORLD HTTP/1.1 200 9386 www.abc.com Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13 ... (4 Replies)
Discussion started by: sandy1028
4 Replies

5. Windows & DOS: Issues & Discussions

Reading MS Outlook pst file

I found a few products that claim to be able to recover deleted emails. Any recommendations? (1 Reply)
Discussion started by: jgt
1 Replies

6. Shell Programming and Scripting

Converting timestamp from PST to UTC

I need to convert the given datetime from PST to UTC, i gone through multiple forum examples but everywhere it mentioned about converting the server datetime. So could someone help me on this. I will be getting arguments for my script in the format of yyyymmddhh (eg:2015101004 - it will be pst),... (4 Replies)
Discussion started by: close2jay
4 Replies

7. Programming

Interactive Python 3.5+ sys.stdout.write() AND sys.stderr.write() bug?

(Apologies for any typos.) OSX 10.12.3 AND Windows 10. This is for the serious Python experts on at least 3.5.x and above... In script format sys.stdout.write() AND sys.stderr.write() seems to work correctly. Have I found a serious bug in the interactive sys.stdout.write() AND... (2 Replies)
Discussion started by: wisecracker
2 Replies
rcS(5)							   Debian Administrator's Manual						    rcS(5)

NAME
rcS - variables that affect the behavior of boot scripts DESCRIPTION
The /etc/default/rcS file contains variable settings in POSIX format: VAR=VAL Only one assignment is allowed per line. Comments (starting with '#') are also allowed. OPTIONS
The following variables can be set. For the default values please see /usr/share/initscripts/default.rcS. TMPTIME On boot the files in /tmp will be deleted if their modification time is more than TMPTIME days ago. A value of 0 means that files are removed regardless of age. If you don't want the system to clean /tmp then set TMPTIME to a negative value (e.g., -1) or to the word infinite. SULOGIN Setting this to yes causes init to spawn a sulogin on the console early in the boot process. If the administrator does not login then the sulogin session will time out after 30 seconds and the boot process will continue. DELAYLOGIN Normally the system will not let non-root users log in until the boot process is complete and the system has finished switching to the default runlevel (usually level 2). However, in theory it is safe to log in a bit earlier, namely, as soon as inetd has started. Setting the variable to no allows earlier login; setting the variable to yes prevents it. Some details: The DELAYLOGIN variable controls whether or not the file /var/lib/initscripts/nologin is created during the boot process and deleted at the end of it. /etc/nologin is normally a symbolic link to the latter location, and the login(1) program refuses to allow non-root logins so long as (the target of) /etc/nologin exists. If you set the variable to no then it is advisable to ensure that /var/lib/initscripts/nologin does not exist. UTC This is used to govern how the hardware real time clock is interpreted when it is read (e.g., at boot time, for the purpose of set- ting the system clock) and when it is written (e.g., at shutdown). If this option is set to no then the system clock is assumed to be set to local time. If the option is set to yes then the system clock is assumed to be set to something approximating Coordinated Universal Time (UTC). (POSIX systems keep a variant of UTC, without leap seconds.) On contemporary Debian systems (although change has been requested at http://bugs.debian.org/346342), if UTC is set to no then /usr/share/zoneinfo must be readable early in the boot process. If you want to keep /usr on a separate filesystem then you must still ensure that the target of /etc/localtime points to the correct zone information file for the time zone of the time kept in your hardware real time clock. VERBOSE Setting this option to no (in lower case) will make the boot process a bit less verbose. Setting this option to yes will make the boot process a bit more verbose. FSCKFIX When the root and all other file systems are checked, fsck is invoked with the -a option which means "autorepair". If there are major inconsistencies then the fsck process will bail out. The system will print a message asking the administrator to repair the file system manually and will present a root shell prompt (actually a sulogin prompt) on the console. Setting this option to yes causes the fsck commands to be run with the -y option instead of the -a option. This will tell fsck always to repair the file sys- tems without asking for permission. NOTE
The EDITMOTD and RAMRUN variables are no longer used. AUTHOR
Miquel van Smoorenburg <miquels@cistron.nl> SEE ALSO
inetd(8), init(8), inittab(5), login(1). 16 Jan 2006 rcS(5)
All times are GMT -4. The time now is 03:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy