Bug 33908 - "useradd" "adduser" -p does not encrypt password
"useradd" "adduser" -p does not encrypt password
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: shadow-utils (Show other bugs)
7.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-03-29 12:20 EST by Rogelio Noriega
Modified: 2014-03-16 22:20 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-03-29 12:20:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Rogelio Noriega 2001-03-29 12:20:01 EST
Problem: If "useradd" "adduser" is used with "-p" creates password 
in /etc/shadow as readable text. does not encrypt the password prior to 
adding to /etc/shadow.

Result: User cannot log in because password is un-hasshed

"linuxconf" and "passwd" work fine.
Comment 1 Bill Nottingham 2001-03-29 12:32:03 EST
Please see the manpage:

       -p passwd
              The encrypted password, as returned by crypt(3).  The default
              is to disable the account.


Note You need to log in before you can comment on or make changes to this bug.