Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 773 - (hide annotations) (download) (as text)
Wed Sep 24 10:54:00 2008 UTC (15 years, 8 months ago) by niro
File MIME type: application/x-sh
File size: 365 byte(s)
-moved helper-scripts into include/ directory

1 niro 773 #!/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 *