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,
On Mon, 11 May 2009 10:36:49 -0700 (PDT), Pete Clapham
peteclap...@sbcglobal.net wrote:
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.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David Markey wrote:
On Mon, 11 May 2009 10:36:49 -0700 (PDT), Pete Clapham
peteclap...@sbcglobal.net wrote:
Hi, all --
I want to add SMB passwords using a script. It would appear that some
variant on the following:
smbpasswd -a -s newusername
On Mon, May 11, 2009 at 4:03 PM, Ryan Novosielski novos...@umdnj.eduwrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David Markey wrote:
...
echo -e newpassword\nnewpassword\n | smbpasswd -a -s dmarkey
It's essentially the same format that you'd use on the command line if
you