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 > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to create new users on my mac from the terminal bigmac18 UNIX for Dummies Questions & Answers 1 02-26-2009 05:33 AM
How to create users in NIS durgaprasadr13 SUN Solaris 6 11-11-2008 06:32 PM
Can't create users in /home sdspawankumar SUN Solaris 4 08-21-2008 12:13 PM
How to create users on HP UX???? mascotlee UNIX Desktop for Dummies Questions & Answers 8 07-21-2008 03:02 AM
create users from template rijeshpp Shell Programming and Scripting 0 10-31-2007 10:29 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-03-2009
dimitris dimitris is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 4
Create new users

Hi ,
i would like to create a new user over unix ,which are these commands to used and which are the directories to handler?
Thank you
  #2 (permalink)  
Old 04-03-2009
pgarousi pgarousi is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 7
Create new users

To add a user:
# useradd <username>

To add a password for that user:
# passwd <username>

/etc/passwd gives you a list of all users.
  #3 (permalink)  
Old 04-04-2009
amitranjansahu's Avatar
amitranjansahu amitranjansahu is offline
Registered User
  
 

Join Date: Jan 2009
Location: Gurgaon,INDIA
Posts: 239
useradd -u userid -g groupid -d /export/home/amit -m -s /bin/ksh -c "user account for amit" amit

-u for userid
-g for groupid
-d home dir
-c for comment
-s for default shell

at last the username
  #4 (permalink)  
Old 04-04-2009
dimitris dimitris is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 4
Response

Hi
thank you very much , i need to create a user only for FTP , i cant access to telnet
Thank you
Closed Thread

Bookmarks

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 02:19 AM.


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