Hey,
On Tue, 16 Jul 2002 09:07:14 -0400
"Bell, Brad" <bbell@maharam.com> wrote:
> I am trying to create a script to set the Samba password. I see in the
> man pages a '-s' option but can't get the syntax to work.
I have done it like that in my scripts:
/usr/sbin/useradd -g users -c 'Samba User' -s /bin/false -m $NAME
/usr/bin/smbpasswd -a $NAME $INITPASS
Regards,
Goetz
--
Goetz Rieger Phone: +49 2241 92917-39
SuSE Linux AG Fax: +49 2241 314599
Geschaeftsstelle Rhein-Ruhr
Marie-Curie-Str. 11-17, D-53757 St. Augustin