vnpenguin at vnoss.org
Tue Apr 14 04:32:24 GMT 2009
On Mon, Apr 13, 2009 at 11:46 AM, Res <res at ausics.net> wrote:
> 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 :)
Maybe this can help you ?
More information about the samba