Bug 66844 - The option "-p"in the useradd tool didn`t encrypt the password
Summary: The option "-p"in the useradd tool didn`t encrypt the password
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: shadow-utils
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-06-17 17:55 UTC by Thiago Dourado
Modified: 2008-05-01 15:38 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-06-17 18:21:45 UTC
Embargoed:


Attachments (Terms of Use)

Description Thiago Dourado 2002-06-17 17:55:42 UTC
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:
Always

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 18:21:38 UTC
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.