The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers
.
google unix.com



UNIX Desktop for Dummies Questions & Answers Discuss UNIX and Linux user interfaces like GNOME, KDE, CDE, and Open Office here. All UNIX and Linux Newbies Welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Creating USERs with restricted Access ramanan25 UNIX for Advanced & Expert Users 4 05-05-2008 11:05 PM
creating users vishwaraj HP-UX 1 01-14-2008 08:30 AM
Creating Users with SMC chaandana UNIX for Advanced & Expert Users 2 06-26-2007 01:45 AM
bash/awk scripting help (creating OLD new users) Jukai Shell Programming and Scripting 2 10-17-2006 05:36 AM
Creating Users!!!! ocpguy UNIX for Dummies Questions & Answers 1 12-04-2001 03:39 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 2 votes, 3.50 average. Display Modes
  #1 (permalink)  
Old 05-30-2008
skyineyes skyineyes is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 150
Creating New Users in UNIX Machine !!!

Hi

How to create users in the UNIX machine ....

I am the ROOT and i want to create users with normal privileges .

a) Please give the sequence of commands which i need to use.

b) How to set their userid and passwords
  #2 (permalink)  
Old 05-30-2008
nua7 nua7 is offline
Registered User
  
 

Join Date: Mar 2008
Location: /bin/sh
Posts: 353
Simple user

Code:
login as root 
adduser <username> 
-- this is sometimes useradd...you have to watch out depending on your flavour of unix
passwd <username> 
-- change the passwd for the user you have just added
.


More complex user
Code:
login as root 
adduser <username> -c <comment> -d <home directory of user> -g <primary group of this user> -G <a comma delimited list of groups to which this user belongs> -m -k <directory to make this new directory look like> -s <users shell>

passwd <username> 
-- change the passwd for the user you have just added
.


[/CODE]
  #3 (permalink)  
Old 05-30-2008
mark54g mark54g is offline
Registered User
  
 

Join Date: May 2008
Posts: 363
My I also suggest doing a "man" or "info" on the useradd command. My experience has shown that adduser is usually a symlink or alias to useradd.
  #4 (permalink)  
Old 07-14-2008
_R3d _R3d is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 73
useradd is easier to use anyways. just prompts you for input.
Closed Thread

Bookmarks

Tags
unix commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:46 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0