Contents of /trunk/installer/include/prepare_auth.sh
Parent Directory | Revision Log
Revision 773 -
(show annotations)
(download)
(as text)
Wed Sep 24 10:54:00 2008 UTC (16 years ago) by niro
File MIME type: application/x-sh
File size: 365 byte(s)
Wed Sep 24 10:54:00 2008 UTC (16 years ago) by niro
File MIME type: application/x-sh
File size: 365 byte(s)
-moved helper-scripts into include/ directory
1 | #!/bin/bash |
2 | |
3 | : ${INSTALL_ROOT="/mnt/magellan"} |
4 | |
5 | # root |
6 | chroot ${INSTALL_ROOT} usermod -p $(openssl passwd -1 ${ROOT_PASSWORD}) root |
7 | |
8 | # user |
9 | user_groups="audio,wheel,cdrom,video,cdrw,usb,games" |
10 | chroot ${INSTALL_ROOT} useradd -m -s /bin/bash -g users -G ${user_groups} ${USER_NAME} |
11 | chroot ${INSTALL_ROOT} usermod -p $(openssl passwd -1 ${USER_PASSWORD}) ${USER_NAME} |
Properties
Name | Value |
---|---|
svn:executable | * |