[Samba] RE: Setting Initial Passwords

Gianluca Cecchi gianluca.cecchi at gmail.com
Tue Sep 19 13:08:03 GMT 2006

it seems that it does work in this way:

"echo -e '$password\n$password' | smbpasswd -s -a $login"

instead of

"smbpasswd -a $login -s $password"

at least form commad line. I don't know from perl.

Obviosuly you should first create the linux user.


More information about the samba mailing list