Bug 136625
Summary: | smbpasswd -a user -s password | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Mario Heininger <mario> |
Component: | samba | Assignee: | Jay Fenlason <fenlason> |
Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | jfeeney, nphilipp, skutzke |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-11-02 16:22:54 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mario Heininger
2004-10-21 09:50:04 UTC
same problem with samba-common-3.0.7-1.3E Workaround: - create a file that contains the password two times - use file instead of stdin: smbpasswd -a -s user < file - not very nice, but works command line != stdin, the command behaves as expected and documented -- you actually attach your file to stdin ("... < file") ;-). What you would have to do were something like this (in shell): (echo password; echo password) | smbpasswd -a user1 -s In fact, you really don't want that password to appear in the list of processes, so take care that you don't call an external executable with the password on the command line. |