[Samba] smbpasswd

Res res at ausics.net
Mon Apr 13 09:46:28 GMT 2009


Hi,
For automation in Perl scripts that add users, trying to add in smbpasswd,
I'm sure, years ago, there was a way of issuing this without drama, now 
it seems it wont just take the password, is there a hidden option? or can 
we get "-w" changed so that it inserts the password into the pass file?

`smbpasswd -a foo -w bar`;  would be nice and painless for automation
without writing yet another messy expect script :)


-- 
Res

-Beware of programmers who carry screwdrivers


More information about the samba mailing list