1 # Samba.core configure script
7 if grep -q '^pcguest:' /etc/passwd
10 NOTE: Username pcguest already exists in /etc/passwd file.
15 /usr/sbin/useradd -g users -d /home/pcguest -c "Samba Guest" \
16 -s /usr/bin/true -m pcguest
22 ERROR: Failed to create username pcguest.
27 NOTE: The configure script has added username pcguest in /etc/passwd file.
28 You must set the password for user pcguest in order to activate it.
36 ln -s /sbin/init.d/samba /sbin/rc3.d/S911samba
37 ln -s /sbin/init.d/samba /sbin/rc2.d/K130samba
39 if [ ! -f /etc/rc.config.d/samba ]
41 cp /usr/local/samba/newconfig/samba.config /etc/rc.config.d/samba