[Samba] Simple question regarding smbpasswd

Cameron Laird claird.visiprise at gmail.com
Mon May 11 21:48:36 GMT 2009


On Mon, May 11, 2009 at 4:03 PM, Ryan Novosielski <novosirj at umdnj.edu>wrote:

> -----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 were a user, but without the visual prompts.
>
   ... I personally prefer

    smbpasswd -a -s dmarkey HERE
    $NEW_PASS
    $NEW_PASS
    HERE

most days.  I also recognize that reasonable people can have different
styles.


More information about the samba mailing list