Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Author: UltratechHost - Replies: 0 - Views: 5245
Guide to “useradd” Command in Linux [Part 1]

In this thread we will be know how to add user in a Linux OS, Prior to that we need to be cleared that useradd/adduser command can only be executed using root previlages.

It has many options and they are:

To add a new u
Author: UltratechHost - Replies: 0 - Views: 4367
Guide to “useradd” Command in Linux [Part 2]

This post is about other option of useradd/adduser

Previous post: http://forums.ultratechhost.com/thread-208.html

Create a User with Specific Group ID
Similarly, every user has its own GID (Group Identification Number). We can create users with specific group ID’s as well with -g option or --gid option.

Here in this example, we will add a user ‘tarunika‘ with a specific UID and GID simultaneously with the help of ‘-u or --uid‘ and ‘-g
Author: UltratechHost - Replies: 0 - Views: 4566
Guide to “useradd” Command in Linux [Part 3]

This thread is about special case for useradd command

Previous Posts:

Add a User with Specific Home Directory, Default Shell and Custom Comment

The following command will create a user ‘santa‘ with home directory ‘/var/www/santa‘, default shell /bin/bash and adds extra information about user.

[code]# useradd -m -d /var/www/santa -s /bin/bash -c "Santa Banta"