UNIX Create user account and password command

To create / add a user called mubashshir with a home directory enter the following
[code]
useradd -m mubashshir
[/code]
To setup a password for Mubashshir
[code]
# passwd mubashshir
[/code]
a prompt will ask you to enter a password
and then to confirm it

Related Articles

August 25, 2020

Hello world!

December 23, 2011

Programmer Competency Matrix