Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How can I change the time in Solaris 8

Posted on 2003-04-01
Medium Priority
Last Modified: 2013-12-27
How can I change the time to Solaris 8
Question by:vage78

Accepted Solution

ecw earned 100 total points
ID: 8247792
date mmddhhmm[yy]

So assuming today is April 1st, and you want to set the time to 12:35, as root,

 date 04011235
LVL 48

Expert Comment

ID: 8249982
man date

Expert Comment

ID: 8401387
Also...if you want to keep your clock in sync with the National Institute of Standards and Technology atomic clocks...

add this in your crontab
ntpdate nist1.datum.com time.nist.gov

Expert Comment

ID: 8566893
I would be careful changeing the date if you have apps like HP Openview running that generate an alarm associated with a date.  For instance, if you get a alarm bad at one time and you recieve an alarm clear at a time before the alarm bad may cause some problems.

Just a warning.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month11 days, 14 hours left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question