Bug 135447

Summary: Can't use getpass() since it is obsolete
Product: Red Hat Enterprise Linux 3 Reporter: Linda Lee <linda.lee>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: 3.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: 2004-10-13 12:03:55 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 Linda Lee 2004-10-12 19:08:24 UTC
Description of problem:


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

Red Hat AS 3 FCS

SYNOPSIS
       #include <unistd.h>

       char *getpass( const char * prompt );

DESCRIPTION
       This function is obsolete. Do not use it.

...


From the man page,  getpass() is an obsolete function and can NOT be
used, what is its equivalent function available on RHAS3?  If there is
no equivalent, can we still use getpass()?

Comment 1 Jakub Jelinek 2004-10-13 12:03:55 UTC
See http://www.opengroup.org/onlinepubs/007908799/xsh/getpass.html
This function was marked LEGACY since it provides no functionality which a user could not easily implement, and its name
is misleading.
It has been removed in XPG6.