If you specify just -p, cpu will prompt for a password like passwd does. I
think just 'cpu usermod -p %u' would work, if not see 'passwd chat' in the man
page for smb.conf.
-Blake
Whatchu talkin' 'bout, Willis?
> Yeah, in my example post I should have added usermod.
> the question is how to have the password passed to --password=
>
> Thanks for the reply...
>
>
>
> Blake Matheny wrote:
>
> >Whatchu talkin' 'bout, Willis?
> >
> >
> >>cpu usermod --password=newpasswd userid
> >>
> >>has anyone been able to get it to work with samba passwd program
> >>directive.
> >>
> >>passwd program = /usr/local/sbin/cpu --password=?? %u
> >>
> >>
> >shouldn't that line be:
> > passwd program = /usr/local/sbin/cpu usermod --password=?? %u
> >
> >-Blake
> >
> >
>
>
> --
> Chauncey Thorn
> Systems Administrator
> VIBE/SPIN Ventures LLC
> Phone: 212-448-7397
> E-Mail: ct...@vi...
>
|