'su lfs' dropping into the background

Anderson Lizardo lizardo at linuxfromscratch.org
Thu Jan 22 09:24:11 PST 2004


On Wednesday 21 January 2004 20:47, Ryan.Oliver at pha.com.au wrote:
> Has everyone forgotten the -M option...
> 
> -M does not create the home directory, use anything from /etc/skel...
> all it does is update passwd and shadow
> 
> useradd -u $uid -g users -c "LFS user" -d /wherever/you/want -M lfs

Hm, I don't have this option either. But, for what you described (it only 
updates passwd and shadow), is it not the same thing that

useradd -u $uid -g users -c "LFS user" -d /wherever/you/want lfs

(without -M, -m nor -k)?

-- 
Anderson Lizardo
lizardo at linuxfromscratch.org
http://www.linuxfromscratch.org/




More information about the lfs-dev mailing list