On Thu, 28 Jul 2005 12:02:08 -0700
Glenn Dawson <[EMAIL PROTECTED]> wrote:

> >been working on a script to add a samba-user, below an example which
> >is not working, can someone provide the fix here to make it work
> >properly ?
> 
> It's difficult to help since you didn't provide a description of the 
> problem beyond "not working".

i forgot the -a option for smbpasswd and the $1 for adduser was not
needed, the modified script below seems to be working instead

#!/bin/sh

adduser -G data -s scponly
smbpasswd -a $1

sorry for not being clear, and thanks for your input!

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to