What is the command to create a user in Unix?

What is the command to create a user in Unix?
Answer
Open a shell prompt. If you are not logged in as root, type the command su – and enter the root password.
Type useradd followed by a space
and the username for the new account you are creating at the command line (for example, useradd jsmith). Press [Enter] .
 

Tìm kiếm

Back
Top