You must specify the home directory with the -d flag

ex:

# useradd -d /home/test test

At least, that's what the manual says.  Give it a try.

At 15:44 10 02 1999 -0500, Spamoff wrote:
>
>Hello all.
>
>First of all some info.
>
>I have several variants of Linux, as well as FreeBsd, OpenBsd and NetBsd.
>
>This is the US commercial pavkage of Suse 5.3.
>
>I installed ity as a full install as I want to see what's loaded and  'play'
>with the system.
>
>O.K - Let's move on
>
>
>just tried adduser   ( sorry useradd,   I hate it when people change
>fundamental commands around)  from the command line.
>
>It created the  user , I gave it a password, went to log-in . It takes the
log
>in and then comes back with no home created home=/
>
>yes...it puts me as a user into the root
>
>and failed to create me a directory in home.
>
>Can anyone else try this and confirm it.
>
>Create a user from the command line
>
>adduser test
>
>passwd test
>
>(give it a password ).
>
>log in as test.
>
>See what it displays to the screen and where it put's you.
>
>Thanks.
>
>Regards...Martin
>
>
>-
>To get out of this list, please send email to [EMAIL PROTECTED] with
>this text in its body: unsubscribe suse-linux-e
>Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
>archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html
> 

-
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to