Re: Re: HP-UX 11 limits password length to 8 characters
Derek Robert Price <[email protected]>
| Newsgroups | gmane.comp.lib.gnulib.bugs,gmane.comp.version-control.cvs.bugs |
|---|---|
| Organization | Ximbiot <http://ximbiot.com> |
| Message-ID | <[email protected]> |
Paul Eggert wrote: >Derek Robert Price <[email protected]> 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. Derek -- *8^) Email: [email protected] 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