summaryrefslogtreecommitdiff
path: root/configs/syslinux-iso/overlay/etc/rc.d
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2010-03-15 23:55:58 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2010-03-15 23:55:58 -0300
commit977095e1d9b4e328a5e911e03aaa52a4be9f15dc (patch)
tree0b98585d26718758e48f22f3c4c07ee96a4dd991 /configs/syslinux-iso/overlay/etc/rc.d
parenteeadc90a1180c89d5324f76d91cd55ebd95f7a01 (diff)
downloadarchiso32-977095e1d9b4e328a5e911e03aaa52a4be9f15dc.tar.xz
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>
Diffstat (limited to 'configs/syslinux-iso/overlay/etc/rc.d')
-rwxr-xr-xconfigs/syslinux-iso/overlay/etc/rc.d/archiso5
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
}