[SuSE Linux] useradd is brken on my machine...anyone else
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 majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
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 majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Spamoff wrote:
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.
Ok, here is the help screen I get when I enter useradd: ************************************************************************* # useradd usage: useradd [-u uid [-o]] [-g group] [-G group,...] [-d home] [-s shell] [-c comment] [-m [-k template]] [-f inactive] [-e expire mm/dd/yy ] name useradd -D [-g group] [-b base] [-f inactive] [-e expire] ************************************************************************** When using the command line version, you need to specify the -d (home), amoung other things. It's easier to use Yast. - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (3)
-
bsb@icubed.com
-
Spamoff@tampabay.rr.com
-
zentara@mindspring.com