Using smbpasswd in scripts!

David Rankin drankin at cox-internet.com
Sat Mar 10 06:11:45 GMT 2001


First was distribution of Linux are your using and what version of samba are you
using. Ahh -- it kinda makes a difference. The different distributions promulgate
different prompts in response to a change password request that you will have to
take into account in your password chat script. So, give everyone a little more
information and you may get a more substantive response in return.

Bartlomiej Solarz-Niesluchowski wrote:

> Hello!
>
> I need to use smbpasswd in scripts. I want to changing smbpassword in script.
>
> There is an option -s in smbpasswd so I tried:
> echo new_password | smbpasswd -s username but without success....
>
> If someone knows how change password - please e-mail.....
>
> Best Regards
>
> --
> Bartlomiej Solarz-Niesluchowski, Administrator WSISiZ
> e-mail: B.Solarz-Niesluchowski at wsisiz.edu.pl
> 01-447 Warszawa, ul. Newelska 6, pokoj 404, pon.-pt. 8-16
> tel. 836-92-53 - wylacznie w WAZNYCH sprawach NIE dotyczacych zmiany hasla
> Motto - nie psuj Win'9x one i bez tego sie psuja....
> Jak sobie poscielisz tak sie wyspisz
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba





More information about the samba mailing list