Bug 123 - smbpasswd is b0rked!
Summary: smbpasswd is b0rked!
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts (show other bugs)
Version: 3.0.0preX
Hardware: All other
: P3 trivial
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-25 22:35 UTC by John H Terpstra (mail address dead(
Modified: 2005-02-07 07:57 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John H Terpstra (mail address dead( 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 (dead mail address) 2005-02-07 07:57:00 UTC
originally reported against 3.0aph24.  Bugzilla spring cleaning.  
Removing old alpha versions.