smbpasswd ?

Andrew Bartlett abartlet at pcug.org.au
Thu Jan 24 02:01:04 GMT 2002


Paul Reilly wrote:
> 
> > For reasons of extreme frustration (been bitten by this one...)
> > smbpasswd (in non-root mode) takes the command line argument as the new
> > password...
> >
> 
> % smbpasswd opensesame
> Old Password: ****
> Password changed for user paulr
> %
> 
> I see what you mean!! 'opensesame' is now my password! This is rather
> unintuitive, and doesn't sound like the best syntax for a command to me!
> I've actually got it work using the syntax 'smbpasswd -r localhost -U $user'
> in my script, which does the job.
> 
> Maybe the command syntax could be cleaned up a bit?

The problem is that sombody else's script took advantage of this, and
will break if we do... :-)

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net




More information about the samba mailing list