• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 767
  • Last Modified:

change time Sun Microsystems

Hello Experts,

I have a sun microsystems box and was wondering what is the command line to change the time?
0
Net_Admin1
Asked:
Net_Admin1
1 Solution
 
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
 
yuzhCommented:
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

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now