Adding a New User in Linux

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...
SHARE

About Agung Pambudi

I am a Blogger with passion in business.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment