Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ADD a user
#1

To add a user to your system bring up a terminal window and issue these commands:

 

To add a user use useradd [username]

then password the name by using passwd like

passwd [username]

All this must be carried out as super user

 

To become a super user just type su - and enter the root password.

Ex.

[digerati@rh9 /]$su -

password:

[digerati@rh9 root]# useradd scrote

[digerati@rh9 root]# passwd scrote

Changing password for user scrote.

New password:

Retype new password:

passwd: all authentication tokens updated successfully.

 

All done.

Reply
#2
Quote:[digerati@rh9 root]# useradd scrote<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="104" data-ipsquote-contentclass="forums_Topic"><div>
 

FYI:

 

[digerati@rh9 root]# useradd -g groupname user

 

The -g specifies a group that you'd like to add the user to. Very helpful to have this before you create the user.

 

For instance:

 

[v702623@itmail]# useradd -g popusers newuser

 

creates the user "newuser" and adds him to the group popusers which have access to my server to use the pop3 email.
</div></blockquote>
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)