![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| useradd | earlysame55 | Shell Programming and Scripting | 4 | 08-28-2007 09:37 AM |
| [ksh] useradd | chodaboy | UNIX for Dummies Questions & Answers | 3 | 06-30-2006 06:24 AM |
| useradd | Selma | SUN Solaris | 4 | 06-13-2005 04:33 AM |
| useradd | dorilevy | UNIX for Advanced & Expert Users | 2 | 10-18-2004 11:15 PM |
| useradd | ortsvorsteher | UNIX for Dummies Questions & Answers | 6 | 05-30-2002 12:28 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
useradd question
The man pages for useradd show the -k flag as a option, problem is I don't know what the description means. Could someone explain what "an alternative skel directory" is?
Is skel an acronym? Thanks From the man page: -k, --skel skeldir Specify an alternative skel directory. This option is only valid, if the home directory for the new user should be cre‐ ated, too. If not specified, the default from /etc/default/useradd or /etc/skel is used. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
The /etc/skel directory is where files template are stored for new users, for example, you will find the .profile file under /etc/skel. So when you will create a new user, it will copy /etc/skel/.profile file to your new user home directory. The -k option let you specify another directory where your template are.
|
|||
| Google The UNIX and Linux Forums |