Commit 977095e1 authored by Gerardo Exequiel Pozzi's avatar Gerardo Exequiel Pozzi
Browse files

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: default avatarGerardo Exequiel Pozzi <>
parent eeadc90a
......@@ -66,10 +66,7 @@ do_makeuser ()
stat_busy "Making the default user arch"
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment