[Samba] Samba user

Jigar Patel pateljigar.83 at gmail.com
Tue Jun 7 17:36:28 MDT 2011

Hello Samba Team,

 I am writing a script that add Linux user with useradd command and then I
would like to add samba user using smbpasswd command but when my script run
the smbpasswd it ask me password two times but in my script I already ask
your to enter password. So I have user password into variable so now need to
tweak smbpasswd that way that is going to take my variable password instead
of asking me. Thanks in advance.

Thank You,

More information about the samba mailing list