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 
>[EMAIL PROTECTED]
>
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba
>



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to