[Samba] RE: Setting Initial Passwords
Tony Molloy
tony.molloy at ul.ie
Wed Sep 20 09:25:01 GMT 2006
On Tuesday 19 September 2006 14:08, Gianluca Cecchi wrote:
> 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.
>
> HIH,
> Gianluca
Thank's Gianluca. That worked from the perl script. Saved my life with a
thousand samba accounts to create!!!
Regards,
Tony.
--
Tony Molloy.
Dept. of Comp. Sci.
University of Limerick
More information about the samba
mailing list