[Samba] smbpasswd and password on command line

Gerald (Jerry) Carter jerry at samba.org
Mon Nov 29 14:45:20 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tim Winders wrote:
| Hello -
|
| I see from the 3.0.8 release notes:
|
|  * Remove support for passing the new password to smbpasswd
|       on the command line without using the -s option.
|
| I used to use the option:
|
|     smbpasswd -a $user $pass
|
| to quickly add a new user to the smbpasswd database.
| This no longer  works in 3.0.8.  I have tried every combination
| I can think of adding the -s and -L options to the command line


(echo $pw; echo $pw ) | smbpasswd -s -a $user





cheers, jerry
- ---------------------------------------------------------------------
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBqzYAIR7qMdg1EfYRAj3pAJ4p5hMWGtLHri5vI7PXIB5RRKSbDQCg0nF/
XrGKt26KLi+B1ck+ALDErts=
=cWbE
-----END PGP SIGNATURE-----


More information about the samba mailing list