[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] Re: HP-UX 11 limits password length to 8 characters

From: Derek Robert Price
Subject: Re: [Bug-gnulib] Re: HP-UX 11 limits password length to 8 characters
Date: Tue, 29 Jul 2003 09:00:46 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

Paul Eggert wrote:

Derek Robert Price <derek@ximbiot.com> writes:
I'd like to import the getpass.c from GNULIB, but it seems to only be
compiled when no getpass() function is found on the system at all,

Isn't that a function of configure.ac, not of getpass.c?

Well, yes. I probably should have been more explicit and said, "the getpass module".

Do you guys know what is the official GNU replacement for getpass()?

None as far as I know.  The glibc manual suggests that you roll your
own, if getpass doesn't suffice (and gives sample code).

If the official replacement for getpass() is not satisfactory, would
it make sense to write an autoconf test which tests for the number
of characters getpass() accepts and does anybody have any idea how
to go about faking getpass() out since it makes such an effort to
retreive only /dev/tty?

You'd have to use something like 'expect'.  This sounds like overkill.

Personally I'd just use my own replacement code.

Sounds like the best idea, though I think I will use the version from GNULIB. Thanks.



Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
Were we directed from Washington when to sow and when to reap, we would soon 
want bread.
                        - Thomas Jefferson

reply via email to

[Prev in Thread] Current Thread [Next in Thread]