How To Create User Account in Linux Unix with Root

RegisterLogin
How To Create User Account in Linux Unix with Root
Post Description: How To Create User Account in Linux Unix with Root
Tags: How, To, Create, User, Account, in, Linux, Unix, with, Root
This Post Was Posted On Feb 29, 2008 By unix #789
This post will show you the steps necessary to create a user account in linux/unix systems. in my example I will be creating the following:

username: login_name (do not use spaces)
password: Myp@ssword (its a good idea to use upper case and characters)

NOTE: you must be logged in as root in order to create another user.

1. Login as root

2. Enter the following at the shell prompt
FOR MOST REDHAT DISTRIBUTIONS:

     Code:
adduser login_name

FOR MOST SuSE ENVIRONMETNS:

     Code:
useradd -m login_name


3. Next, you need to give the new user a password for the new account. Enter the following command

     Code:
passwd login_name


4. You will be asked to enter a password for login_name.

5. Afer you have entered the password, you will be asked to re-enter the password. If both passwords don't match, you will get an error. Otherwise, Congratulations! you have created a new account in you linux system.
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2011 Webune Forums - Mon Dec 19, 2011 8:06 am
Powered by: Webune Forums V3