Re: Reading passwords

From: Jander (gjerde@plains.nodak.edu)
Date: 02/09/96


On Fri, 9 Feb 1996, Naved A Surve wrote:

> In message <Pine.OSF.3.91.960209133343.16189A-100000@alf> you said:
> > On Wed, 7 Feb 1996, Ben Greear wrote:
> > > on a slightly similar note:  Is there a c/c++ command that makes
> > > your password invis when you type it???
> #include <passwd/invis.h>
> char *get_invis_password();

getpass(3):
#include <pwd.h>
char *getpass(const char *prompt);

This turns off echo while reading in..

----
Ole Gjerde
Homepage: http://www.winternet.com/~gjerde
Email: gjerde@plains.nodak.edu, gjerde@winternet.com, jander@fix.bbs.no
Student at North Dakota State University



This archive was generated by hypermail 2b30 : 12/07/00 PST