In samba 2.2.8, smbpasswd can change a user's smb password without prompt: # smbpasswd username newpswd How to do it in samba 3.0 Best Regards! Jacky Kim . ------------------------------------------------------------------------------------- ¼ÎÄ껪ÌôÕ½¿ìÀÖ¼«ÏÞ,Äã¸ÒÍæÂð? http://smspop.163.com/personal/wang/17/index.htm
In samba 2.2.8, smbpasswd can change a user's smb password without prompt: # smbpasswd username newpswd How to do it in samba 3.0? I do want to change user's password without prompt! Best regards! Jacky Kim .
For scripting then, what would the appropriate syntax be? smbpasswd -s -a username password this was working fine for me in 2.2.x and 3.0.x until the upgrade 3.0.6 If I want to change password with a script - i.e. single line of code..... what is the appropriate command syntax in 3.0.6? Jake Holmquist Manhattan College Jholmqui@manhattan.edu
Try it: # (echo password; echo password) | smbpasswd -s -a username Best Regards! Jacky Kim .>For scripting then, what would the appropriate syntax be? > >smbpasswd -s -a username password > >this was working fine for me in 2.2.x and 3.0.x until the upgrade 3.0.6 > >If I want to change password with a script - i.e. single line of code..... >what is the appropriate command syntax in 3.0.6? > >Jake Holmquist >Manhattan College >Jholmqui@manhattan.edu > > >-- >To unsubscribe from this list go to the following URL and read the >instructions: http://lists.samba.org/mailman/listinfo/samba >