Bug 22033

Summary: [PATCH] to pw(8) to allow encrypted password to be entered via fd
Product: Base System Reporter: Brook.Schofield <Brook.Schofield>
Component: binAssignee: iedowse
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1.1-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Brook.Schofield 2000-10-17 00:00:01 UTC
pw(8) doesn't allow an already encrypted password to be added to the password file. This patch allows such by modifying the activity of '-w method' to allow 'crypt' option which causes '-h' to read the password literally and include in the password file, with the exception of an input containing a ':'.

How-To-Repeat: 
Apply the following patch to pw
Comment 1 iedowse freebsd_committer freebsd_triage 2002-12-01 01:35:51 UTC
Responsible Changed
From-To: freebsd-bugs->iedowse


I have a modified version of this patch that I must have forgotten 
to commit. I'll do it after 5.0-RELEASE.
Comment 2 iedowse freebsd_committer freebsd_triage 2004-01-11 18:28:26 UTC
State Changed
From-To: open->patched


I have added a `-H <fd>' option in -CURRENT and will merge this 
into -STABLE in a few weeks.
Comment 3 iedowse freebsd_committer freebsd_triage 2004-01-25 20:43:26 UTC
State Changed
From-To: patched->closed


Merged into -STABLE now.