Results 1 to 4 of 4
Hi,
I want to know how to change a password to an user account. Can someone give me the syntax on how to do this? I was using usermod but ...
- 12-03-2008 #1Just Joined!
- Join Date
- Nov 2008
- Posts
- 7
Change password?
Hi,
I want to know how to change a password to an user account. Can someone give me the syntax on how to do this? I was using usermod but it's not working (usermod -p 123456 user1). Is there other way beside usermod? I am using RHEL5.
Thanks,
Allen
- 12-03-2008 #2You must have root privileges to change password of other users. If you want to change your own password, execute passwd command without user_id.Code:
passwd user1
Code:passwd
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 12-03-2008 #3Linux User
- Join Date
- Jun 2007
- Posts
- 318
Also, the reason why usermod isn't working is because you have to pass the password encrypted. Here's a thread that was about it.
http://www.linuxforums.org/forum/lin...-password.html
- 12-03-2008 #4Just Joined!
- Join Date
- Nov 2008
- Posts
- 7
Thanks guys for your input!
Allen


Reply With Quote