[ofa-general] ib-diag: use of getpass()

Hal Rosenstock hal.rosenstock at gmail.com
Fri Feb 20 10:42:59 PST 2009


On Fri, Feb 20, 2009 at 1:27 PM, Sean Hefty <sean.hefty at intel.com> wrote:
> saquery calls getpass, and according to the man page:
>
> 'This function is obsolete.  Do not use it.'
>
> Can we remove this call?  What is your preference for replacing it?  (Use scanf?
> take the SM Key as a command line argument?)

There was a thread on this back in June 2008:
http://lists.openfabrics.org/pipermail/general/2008-June/051057.html

Sasha wrote:
glibc info page doesn't indicate this. Also I did some
googling and looked at glibc code itself - found nothing suspicious yet.
Finally it is how password handled in 'su'.

-- Hal

> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>



More information about the general mailing list