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 08:03:55 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Linda Lee 2004-10-12 15:08:24 EDT
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 08:03:55 EDT
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.