Adding User Group in Ubuntu 14 Server

User group is very important in Ubuntu Server. When you want to add user group in Ubuntu version 14 this guide can help you.

Adding User Command in your Terminal:

adduser newuser

If you’re given the Sudo previlage you can actually add user by following this command:
sudo addusers newuser

Adding User in a Group

sudo adduser username groupname

In this command you need to add a group by using this command
sudo addgroup groupname

Granting Sudo Privilages for your users

If you want others would use Sudo command and you can set it by using this command

visudo

Find for the line that looks like this:
root ALL=(ALL:ALL) ALL
Below this line, copy the format you see here, changing only the word “root” to reference the new user that you would like to give sudo privileges to:
root ALL=(ALL:ALL) ALL
newuser ALL=(ALL:ALL) ALL

Note:
Before using the following commands, please be responsible to understand the ramifications of creating and using a root-level account. Adding and creating user that can control the root access will result to a security compromised system or you may render your system COMPLETELY UNUSABLE.

About The Author: Rosendo Cuyasen Jr. is the head of Eyewebmaster a web developing and SEO firm in the country. You can follow him on twitter@Eyewebmaster account, you can also like him to his Facebook account and Google + account.

Comments are closed.