Re: LFS user creation

2010-02-09 Thread Chris Staub
On 02/08/2010 03:25 AM, Yaacov-Yoseph Weiss wrote: > Hi, > > There are two issues I found regarding the creation of the > lfs user (chapter 4.3). All cases are from opensuse hosts. > > > The second issue, is that I wasn't able to su or sudo into the new lfs user > without setting the lfs user's pas

Re: LFS user creation

2010-02-09 Thread Yaacov-Yoseph Weiss
Thanks. >> from my original message > from reply by Bruce Dubbs >> useradd -s /bin/bash -g lfs -m -k /dev/null lfs >> >> does not return 0, since it fails to copy from /dev/null. The return value us 12. ('echo $?' gives 12) > Does  'SKEL_DIR=/dev/null useradd -s /bin/bash -g lfs -m lfs' work?

Re: LFS user creation

2010-02-08 Thread Bruce Dubbs
Yaacov-Yoseph Weiss wrote: > Hi, > > There are two issues I found regarding the creation of the > lfs user (chapter 4.3). All cases are from opensuse hosts. > > First, the command used to create the user: > > useradd -s /bin/bash -g lfs -m -k /dev/null lfs > > does not return 0, since it fails