This make the user home automatically with correct perms, and also copies skel. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> --- configs/syslinux-iso/overlay/etc/rc.d/archiso | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/configs/syslinux-iso/overlay/etc/rc.d/archiso b/configs/syslinux-iso/overlay/etc/rc.d/archiso index c30b435..435152a 100755 --- a/configs/syslinux-iso/overlay/etc/rc.d/archiso +++ b/configs/syslinux-iso/overlay/etc/rc.d/archiso @@ -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 } -- 1.7.0.2