Link to home
Start Free TrialLog in
Avatar of thornbush
thornbush

asked on

Add a user in Redhat Linux 5.0

When I try to add a user in RedHat Linux 5.0, the password (I supply as a parameter to the adduser/useradd command at the command prompt) doesn´t get encrypted. It is just entered as plain text in the /etc/passwd file. How do I get it encrypted?

(Yes, I know about the User & Group config in StartX, but in this case I can´t use the graphical interface for adding users.)
Avatar of thornbush
thornbush

ASKER

BTW, is there any program that comes with RedHat Linux 5.0 (or can be downloaded free from the Internet) that can do UNIX password encryption and display it directly at the command prompt (after the program has been executed) so that I can copy the encrypted password and place it in the /etc/passwd file (if none can help me with the first problem, I will have to do like this).

I am not seeking for the standard passwd program (it just change the current user´s password and that is not what I want to do).
ASKER CERTIFIED SOLUTION
Avatar of jetx
jetx
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanx...