change time Sun Microsystems

Hello Experts,

I have a sun microsystems box and was wondering what is the command line to change the time?
Net_Admin1Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
yuzhConnect With a Mentor Commented:
To change the date and time for Solaris system, you need to login as root or su as root, then run the date command to set the date and time, eg:
command format:   date mmddHHMMYYYY
eg:    date 071611302003
          - sets the date to July 16th, 2003 - 11:30 AM
man date
to leran more details.
 
BTW,  you can use "rdate" or "ntpdate" to sync the time with a
Time server.
login as root, type in:

eg:
/usr/bin/rdate  timeservername
 /usr/sbin/ntpdate ntpserver

man rdate
man ntpdate
to learn more details.

you can put it in the crontab.
 
 
0
 
Luciano PatrãoICT Senior Infraestructure  Engineer  Commented:
Hi

Is this what you are looking for?

http://docs.sun.com/app/docs/doc/816-0210/6m6nb7m78?l=en&a=view

Jail
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.