Magellan Linux

Contents of /trunk/installer/include/prepare_auth.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1019 - (show annotations) (download) (as text)
Sun May 30 17:36:53 2010 UTC (13 years, 11 months ago) by niro
File MIME type: application/x-sh
File size: 372 byte(s)
-fixed header
1 #!/bin/bash
2 # $Id$
3
4 : ${INSTALL_ROOT="/mnt/magellan"}
5
6 # root
7 chroot ${INSTALL_ROOT} usermod -p $(openssl passwd -1 ${ROOT_PASSWORD}) root
8
9 # user
10 user_groups="audio,wheel,cdrom,video,cdrw,usb,games"
11 chroot ${INSTALL_ROOT} useradd -m -s /bin/bash -g users -G ${user_groups} ${USER_NAME}
12 chroot ${INSTALL_ROOT} usermod -p $(openssl passwd -1 ${USER_PASSWORD}) ${USER_NAME}

Properties

Name Value
svn:executable *