How to create user without password in Linux
Can we create user in Linux without password, and answer is yes You can 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 “” rahul1
Your Profile can also be listed here, Want to share you Experience, become a TecGeeks Author Submit here
Latest posts by Rahul Kansi (see all)
- How to Monitor your Linux and Windows Servers with CloudStats - May 18, 2017
- How to protect your Server against the ransomware attack - May 16, 2017
- How to force a user to change his password upon next login? - April 28, 2017