Add -m option to useradd in archiso rc script.
This make the user home automatically with correct perms, and also copies skel. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
parent
eeadc90a11
commit
977095e1d9
@ -66,10 +66,7 @@ do_makeuser ()
|
||||
{
|
||||
stat_busy "Making the default user arch"
|
||||
addgroups="audio,disk,optical,wheel"
|
||||
useradd -p "" -g users -G $addgroups arch
|
||||
mkdir /home/arch
|
||||
chmod 700 /home/arch
|
||||
chown arch:users /home/arch
|
||||
useradd -m -p "" -g users -G $addgroups arch
|
||||
stat_done
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user