Bug 18919
Summary: | useradd does not encrypt the password when adding a user with the -p option. | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | moonpie <wolfgang> |
Component: | shadow-utils | Assignee: | Nalin Dahyabhai <nalin> |
Status: | CLOSED NOTABUG | QA Contact: | Dale Lovelace <dale> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | ||
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: | 2000-10-11 21:46:47 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
moonpie
2000-10-11 21:46:43 UTC
This is the correct behaviour for the -p option to useradd. You must encrypt the passwd yourself. From the useradd man page: -p passwd The encrypted password, as returned by crypt(3). The default is to disable the account. |