Home / Server / Linux / CentOS / HowTo: CentOS Add User in CentOS v6.5 Linux

HowTo: CentOS Add User in CentOS v6.5 Linux

Linux is an operating system in the simplest terms. It is the software on a computer that enables applications and the computer operator to access the devices on the computer to perform desired functions. The operating system (OS) relays instructions from an application to, for instance, the computer’s processor. The processor performs the instructed task, then sends the results back to the application via the operating system. CentOS add user is the technique to add new user in Linux kernel.

This is the first post on Linux operating system and the first tutorial for Linux learners who are the beginners. I will publish more tutorials step by step next. After installing Linux like CentOS v6.5 the first work is to create new user and setup the user password for this user account. To login the operating system you need to have a user account.

If you need to install CentOS v6.5 go to the link – How to install CentOS v6.5 Linux Step by Step with Screenshot.

CentOS Add User:

To add/create a new user, open terminal and type the following commands “useradd” or “adduser” with “username“. This “usename” will be the login name that is used by the user to login into the system. Only new username can be added into the system so that user name must be unique.

Suppose the unique user name is “itzone” which you want to add, use the following commands,

[root@localhost ~]# useradd itzone

When you add a new user in Linux with “useradd” command it gets created in locked state and to unlock that user account, we need to set a password for that account with “passwd” command.

[root@localhost ~]# passwd itzone
Changing password for user itzone.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.

After successfully creating new user, it’s entry automatically added to the “/etc/passwd” file. The file is used to store users information and the entry should be:

itzone:x:500:500:itzone:/home/itzone:/bin/bash

About Shyamal

Avatar of Shyamal
Shyamal is our resident tutorial master. He has years of experience with WordPress Platform and is a professional blogger with a special interest in Social Media, Internet Marketing and Web Design. Actually, he is also working on a IT Company as a System Administrator in the fields of Linux and Windows Server, System Administration and Networking.

Check Also

disable ipv6

How to Disable IPv6 on CentOS/RHEL 7

Post describes procedure to disable IPv6 on CentOS/RHEL 7. There are 2 ways to do …

Leave a Reply

Your email address will not be published. Required fields are marked *

Advertisment ad adsense adlogger