Adding a New User in Linux

Posted by Agung Pambudi in ,
Create a user in Linux is very easy, make sure you are as super user or root, as superuser user who has the right to add or remove users. The following commands create a user and set a password for the new user.

Linux Lite. (source: www.google.com)

username for example: user1

[root@korex ~]# useradd -m user1
[root@korex ~]# passwd user1
[root@korex ~]# usermod -a G sudo user1
[root@korex ~]# chsh -s /bin/bash user1

That's it...

No comments:

Post a Comment