Blogs

How to create a user in linux

In order to create a user within a linux environment follow these steps

Required data

  • username = user alias to be asigned 

Sample data

  • username = alejandro

Process

1. Issue the useradd command to create a locked user account:

[root@sandbox www]# useradd abernal

2. Unlock the account by issuing the passwd command to assign a password and set password aging guidelines:

[root@sandbox www]# passwd abernal

Pages

Subscribe to RSS - blogs