Click to See Complete Forum and Search --> : Add a user, doesnt auto create home dir


csmicgirl7
01-08-2001, 12:26 PM
What do I need to do to get this to work? I can create the dir. manually and it works..

Thanks!!

cg

Strike
01-08-2001, 12:56 PM
What are you using to add the user?

mangeli
01-08-2001, 01:02 PM
If you're at the command line, use adduser

That will automagically create the home dir for the user you added....

csmicgirl7
01-08-2001, 01:50 PM
I use the useradd command...

Ripley
01-08-2001, 03:59 PM
Back to the top. I would like to know the answer to this one too (for useradd).

Mandrake 6.1 had a section in /etc/login.defs to enable/disable this feature (automatic ~/<username> creation) and a file /etc/skel which contained various default scripts (.bash_profile etc). The section is missing from the current login.defs (lfs system) and doesn't work if added. login.defs is from the shadow password suite as I understand it.