LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   User's home directory (https://www.linuxquestions.org/questions/linux-newbie-8/users-home-directory-653005/)

siva19185 07-01-2008 10:09 PM

User's home directory
 
User to be added, by default his home directory should /var/spool without

mentioning -d option every time...

colucix 07-02-2008 04:22 AM

You can change the default values using the -D option. The command
Code:

useradd -D
without any argument prints out the current default values. Using -D in conjunction with other options change the defaults, for example
Code:

useradd -D -b /var/spool
changes the prefix (location) of the home directories. These values are stored in /etc/default/useradd.


All times are GMT -5. The time now is 01:14 AM.