From 977095e1d9b4e328a5e911e03aaa52a4be9f15dc Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Mon, 15 Mar 2010 23:55:58 -0300 Subject: 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 --- configs/syslinux-iso/overlay/etc/rc.d/archiso | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'configs/syslinux-iso/overlay') 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 } -- cgit v1.2.3-70-g09d2