System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

setting system time on 4100

David Baillieul
Occasional Visitor

setting system time on 4100

We must set the system time ahead 15 minutes on out True 64 4100. Have bben told that the date command will not retain the new time after a reboot. What other paramerters must be set to have the new time survive a reboot?
2 REPLIES
Abdul Rahiman
Esteemed Contributor

Re: setting system time on 4100

As far as I know, the system would retain the date & time setup using the date command even after the reboot. Use the date command in the following format in single user mode to reset the time.
# date [[cc]yy]mmddHHMM[.ss]

Following is from the system documentation,
"The system has an internal clock that you set when you install the system. The clock maintains the time and date whether the power is on or off. Nevertheless, there are occasions when you might need to reset the time or date. For example, with battery-powered clocks, you might need to reset the time as a result of battery failure; or you may need to synchronize system time with standard time.
To set the date and time, log in as root and use the date command."

regds,
Abdul.
No unix, no fun
Ralf Puchner
Honored Contributor

Re: setting system time on 4100

The correct procedure is:

>> boot -fl s
# mount -u /
# date
ctrl+d

if using date within the multiusermode leads to problems on running programs.
Help() { FirstReadManual(urgently); Go_to_it;; }