Thursday, January 17, 2019

How to create a user in Linux | How to add a user in Linux



In this post we'll see .....
How to create a user in Linux. 


To create a user or to add a user in Linux by using Linux command we will use the command useradd. 

You must be in root user to create a new user.

see the below image. we are going to create a new user test01 by using Linux command usseradd. The command line will be like this.... "useradd test01"


The above picture showing that we have used the command "usseradd test01" to add a new user. after that by using "ls /home/" command you can check the user is added or not. 


steps:
[root@reyaz ~]# useradd test01
[root@reyaz ~]# ls /home/
applmgr  appsdba  oracle  oracle1  rhossan  test01

[root@reyaz ~]#


You can find me on Fiverr & LinkedIn

No comments:

Post a Comment