The UNIX and Linux Forums  


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



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How do you set up an FTP user account? XZOR UNIX for Dummies Questions & Answers 3 09-29-2008 04:06 AM
How to use own account env variables to cron user Tlg13team HP-UX 3 01-28-2008 09:38 AM
HMC User account expired - What now? backslash AIX 0 05-31-2006 06:14 PM
user account chomca Post Here to Contact Site Administrators and Moderators 1 05-22-2006 01:41 PM
show all user account Deux UNIX for Dummies Questions & Answers 6 06-26-2005 09:57 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 08-01-2001
damian damian is offline
Registered User
  
 

Join Date: Jul 2001
Posts: 3
Question creatin user account

hi all, i m tryin to create a new account on the unix work station. do i use 'useradd' command? can u guyz advice on the usage of 'useradd' command as it can comes with 'useradd -D' or 'useradd -e'
thanks
  #2 (permalink)  
Old 08-01-2001
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,771
Quote:
man# man useradd
Formatting page, please wait...

USERADD(8) USERADD(8)

NAME
useradd - Create a new user or update default new user
information

SYNOPSIS
useradd [-c comment] [-d home_dir]
[-e expire_date] [-f inactive_time]
[-g initial_group] [-G group[,...]]
[-m [-k skeleton_dir]] [-p passwd]
[-s shell] [-u uid [ -o]] login

useradd -D [-g default_group] [-b default_home]
[-f default_inactive] [-e default_expire_date]
[-s default_shell]


-e default_expire_date
The date on which the user account is disabled.

Changing the default values
When invoked with the -D option, useradd will either dis-
play the current default values, or update the default
values from the command line.
Use -D if you want to change the defaults. If you have not done this before, you may not want to do this just yet As for expire day -e that depends on your security policy and how much grief you want to give users. Perhaps others care to give guidelines on this? (30? 60? 90? days)
Closed Thread

Bookmarks

« rsh command | unix? »
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 12:25 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