How to change time as root?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to change time as root?
# 1  
Old 09-09-2004
How to change time as root?

Hi,
Can someone tell me how to change time inside red hat linux machine as root?

ThanX!
# 2  
Old 09-09-2004
To change the date on a Solaris Box:
as root type

date <mmddhhmin>
where mm-month eg. 09
dd -day eg. 10
hh-hour eg. 12
min -minutes e.g. 45

Should work on a Linux Box as well

Cheers
enc;-)
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Can a root role change the root password in Solaris 10?

i do not have root on a solairs 10 server , however i do have the root role, i was wondering if I can change the root password as a a role with the passwd command? I have not tried yet. and do i have to use the # chgkey -p afterwards? i need to patch is why i am asking. thanks (1 Reply)
Discussion started by: goya
1 Replies

2. Ubuntu

Root access that can't change root password?

We are having a little problem on a server. We want that some users should be able to do e.g. sudo and become root, but with the restriction that the user can't change root password. That is, a guarantee that we still can login to that server and become root no matter of what the other users will... (2 Replies)
Discussion started by: 244an
2 Replies

3. Red Hat

Change root on 80 machines

I have inherited an 80 machine cluster and need to change root on all of them. :confused: Any ideas on an automated way to do that? ---------- Post updated at 11:29 AM ---------- Previous update was at 11:15 AM ---------- Assuming a stronger password, would this be a reasonable method for... (4 Replies)
Discussion started by: rd42
4 Replies

4. Solaris

Solaris 8 - Asks for current root password when trying to change root password.

Hello All, I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password... (8 Replies)
Discussion started by: tferrazz
8 Replies

5. Red Hat

Change root

i am having 4 operting system RHEL4 RHEL5 SLES9 SLES10 when the system boots up i need to have rhel4 so how to change the mount point and after that how can change the root to diff OS' somebody help me thanks revenna (2 Replies)
Discussion started by: revenna
2 Replies

6. Solaris

Root Password change

Hi All, I would like to find out when the root password changed last time..! :p Please guys help me Out (2 Replies)
Discussion started by: bullz26
2 Replies

7. HP-UX

How to change ROOT password.

Hi, we have a HP-UX server of model 9000/800/rp4440. We have been trying to reset the root password but are in vain.I used the following command and also are the outputs which i have received. # passwd Changing password for root New password: Re-enter new password: Unexpected failure.... (3 Replies)
Discussion started by: angelofhell
3 Replies

8. Solaris

change root password

Hi, please advise me what is the simplest way to change root password on Sun Sparc 64 bit with Solaris 9 on it. Thanks in advance. (3 Replies)
Discussion started by: duke0001
3 Replies

9. HP-UX

How to change root password on HP UX

Hello, I try to make a change on the root password on HP UX. I use sam but it didn't work here. I try to login as root but I failed however, I login to my name and then change to su and su password then it is o.k There is not much different from root and su but how do we use root? Thanks so... (4 Replies)
Discussion started by: mle06
4 Replies
Login or Register to Ask a Question