Bug 123 - smbpasswd is b0rked!
smbpasswd is b0rked!
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts
All other
: P3 trivial
: none
Assigned To: Gerald (Jerry) Carter
Depends on:
  Show dependency treegraph
Reported: 2003-05-25 22:35 UTC by John H Terpstra
Modified: 2005-02-07 07:57 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description John H Terpstra 2003-05-25 22:35:12 UTC
smbpasswd ignores any password from the command line.

ie: smbpasswd -L -a manager morpheus1

Asks for a password from the console. ie: New SMB password: etc.
Comment 1 Tim Potter 2003-06-15 20:50:03 UTC
Is this a security feature?
Comment 2 Andrew Bartlett 2003-06-21 19:05:15 UTC
This isn't a release stopper, and behaves as documented.

Root cannot put the password on the command line, -L acts as root.

Putting the password on the command line is *always* a bad idea, it's just
allowed for backward compatability.

This is why we have the --stdin flag, if you want to make it easy to script.
Comment 3 Gerald (Jerry) Carter 2005-02-07 07:57:00 UTC
originally reported against 3.0aph24.  Bugzilla spring cleaning.  
Removing old alpha versions.