diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2010-03-15 23:55:58 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2010-03-15 23:55:58 -0300 |
commit | 977095e1d9b4e328a5e911e03aaa52a4be9f15dc (patch) | |
tree | 0b98585d26718758e48f22f3c4c07ee96a4dd991 /configs/syslinux-iso/overlay/etc/rc.d/archiso | |
parent | eeadc90a1180c89d5324f76d91cd55ebd95f7a01 (diff) | |
download | archiso32-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/archiso')
-rwxr-xr-x | 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 } |