Bug 66844 - The option "-p"in the useradd tool didn`t encrypt the password
The option "-p"in the useradd tool didn`t encrypt the password
Product: Red Hat Linux
Classification: Retired
Component: shadow-utils (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Depends On:
  Show dependency treegraph
Reported: 2002-06-17 13:55 EDT by Thiago Dourado
Modified: 2008-05-01 11:38 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-06-17 14:21:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Thiago Dourado 2002-06-17 13:55:42 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; TUCOWS)

Description of problem:
When I use de option -p with que useradd tool the password field in the shadow 
file is not encryted and the user could not login before the administrator 
change the password

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.# useradd danielad -p daniela123 -G wheel -c "Daniela Daros -- EBSD"
2. # more /etc/passwd | grep danielad
> danielad:x:509:510:Daniela Daros -- EBSD:/home/danielad:/bin/bash
3.# more /etc/shadow | grep danielad
> danielad:daniela123:11850:0:186:7:::

Additional info:
Comment 1 Trond Eivind Glomsrxd 2002-06-17 14:21:38 EDT
The man page clearly states that "-p" is for the encrypted password, not a
plaintext one.

Also, useradd is not part of the unarj package.

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