LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Creating a user without a home directory. (http://www.linuxquestions.org/questions/linux-newbie-8/creating-a-user-without-a-home-directory-679795/)

deedawn 10-29-2008 11:30 AM

Creating a user without a home directory.
 
Hello All,

I am very new to Unix, and I am trying to create a user without a home directory so that I can then use Pam_mkhomedir to create a custom home directory for that user. Can someone please help me with this.

pixellany 10-29-2008 11:35 AM

Quote:

Originally Posted by deedawn (Post 3325125)
Hello All,

I am very new to Unix, and I am trying to create a user without a home directory so that I can then use Pam_mkhomedir to create a custom home directory for that user. Can someone please help me with this.

useradd (with no -d flag)

man useradd for details

ncsuapex 10-29-2008 11:36 AM

just do:

Quote:

useradd username

also read through:

man useradd


All times are GMT -5. The time now is 02:37 AM.