Contents of /tags/installer-0_1_1/include/prepare_auth.sh
Parent Directory | Revision Log
Revision 1019 -
(show annotations)
(download)
(as text)
Sun May 30 17:36:53 2010 UTC (14 years, 4 months ago) by niro
Original Path: trunk/installer/include/prepare_auth.sh
File MIME type: application/x-sh
File size: 372 byte(s)
Sun May 30 17:36:53 2010 UTC (14 years, 4 months ago) by niro
Original Path: trunk/installer/include/prepare_auth.sh
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 | * |