Sunday, 1 June 2014

How to create User without password in Linux

Below mentioned command can create user without password in Linux using single command.

Note: having an account without password might be a security threat. I recommend to only enable the account when needed,
useradd -p "" (username)
Sample as below......
#useradd -p "" rahul 

Now you can trying login using rahul user system will not ask for password.

No comments:

Post a Comment