[Samba] Simple question regarding smbpasswd

Pete Clapham peteclapham at sbcglobal.net
Mon May 11 17:36:49 GMT 2009


Hi, all --

I want to add SMB passwords using a script.  It would appear that some variant on the following:

smbpasswd -a -s <newusername>

would work.  However, the syntax of the -s option isn't clear.  How do I insert the password of the new user into the script?

Thanks for your help.

cheers,
pete


More information about the samba mailing list