Prev: RWIN
Next: OpenSuSE 11.1 install problem !
From: Eef Hartman on 14 Sep 2009 05:12 Adam S. wrote: > useradd nuuser > mkdir/home/nuuser > chown nuuser /home/nuuser The 2nd and third command are already done with the -m (make home dir) option to useradd. The defaults for useradd are set in /etc/defaults/useradd This is the content on MY (10.3) openSUSE system: GROUP=100 HOME=/home INACTIVE=-1 EXPIRE= SHELL=/bin/bash SKEL=/etc/skel GROUPS=video,dialout CREATE_MAIL_SPOOL=no > passwd nusuer passwd is always set separately, indeed, as well as some of the "chage" values when you're using shadow (you already see the "INACTIVE" and "EXPIRE" defaults above). -- Eef Hartman, Delft University of Technology, dept. SSC/ICT
From: Adam S. on 14 Sep 2009 23:52
>> > Adam, > > > The man page says the -p option expects the output of an encrypted > password created by crypt. > > So test123? will be your hash and not your cleartext password. > > > Kind regards, > > > Jan Gerrit Yes! Thanks you, that fixed it. run passwd after the command. -- -- Adam S. |