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: