Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating user with no password

Status
Not open for further replies.

albeee

Programmer
Dec 3, 2001
4
US
Using Red Hat 7.0,
Is there any way to create a user with no password?


thanks
Albeee
 
As root, just type passwd username <enter><enter><enter>

or you could take the plunge and edit the passwd or shadow file in the /etc directory and remove the encrypted string from between the colons. Since most people are now using shadow files over the regular passwd file to store the passwords, I'll only give an example line for /etc/shadow

garwain::11810:0:99999:7:::
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top