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@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
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@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
At 07:11 2001-03-10, David Rankin wrote:>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.2.0.7 RH 7.0 (standard) - I on transition to encrypted password (count of users > 5000) -- Bartlomiej Solarz-Niesluchowski, Administrator WSISiZ e-mail: B.Solarz-Niesluchowski@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