Annotation of /trunk/installer/include/prepare_auth.sh
Parent Directory | Revision Log
Revision 1019 -
(hide annotations)
(download)
(as text)
Sun May 30 17:36:53 2010 UTC (14 years, 4 months ago) by niro
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
File MIME type: application/x-sh
File size: 372 byte(s)
-fixed header
1 | niro | 773 | #!/bin/bash |
2 | niro | 1019 | # $Id$ |
3 | niro | 773 | |
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 | * |