slitaz-tools rev 471

fix tazctrlbox: add new user to cdrom group
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 27 20:20:52 2010 +0100 (2010-03-27)
parents 59f713c98fa4
children 5c26c6d5818f
files tinyutils/tazctrlbox
line diff
     1.1 --- a/tinyutils/tazctrlbox	Sat Mar 27 01:17:23 2010 +0100
     1.2 +++ b/tinyutils/tazctrlbox	Sat Mar 27 20:20:52 2010 +0100
     1.3 @@ -5,7 +5,7 @@
     1.4  # are called by argument. Individual window dialog are put into 
     1.5  # functions.
     1.6  #
     1.7 -# (C) GNU gpl v3 - SliTaz GNU/Linux 2008.
     1.8 +# (C) GNU gpl v3 - SliTaz GNU/Linux 2010.
     1.9  # Author: Christophe Lincoln <pankso@slitaz.org>
    1.10  #
    1.11  VERSION=1.0
    1.12 @@ -154,7 +154,8 @@
    1.13  			<button ok>
    1.14  				<action>adduser -D $NEW_USER</action>
    1.15  				<action>echo "$NEW_USER:$PASSWD" | chpasswd</action>
    1.16 -				<action>adduser -G audio $NEW_USER</action>
    1.17 +				<action>addgroup $NEW_USER audio</action>
    1.18 +				<action>addgroup $NEW_USER cdrom</action>
    1.19  				<action>rmdir /home/$NEW_USER</action>
    1.20  				<action>cp -a /etc/skel /home/$NEW_USER</action>
    1.21  				<action>cp /root/.xinitrc /home/$NEW_USER</action>