Tru64 and password chatting

Axel Thimm Axel.Thimm at physik.fu-berlin.de
Wed Jan 17 23:29:59 GMT 2001


Hi,

I had this problem already years ago
(http://lists.samba.org/pipermail/samba-ntdom/1998-December/016745.html):

When trying to setup a password chat under OSF1 or Tru64 the "passwd program"
core dumps when reaching an input state. This seems to be always true, when a
password changing program makes use of the function getpass(3), whose man page
is attached.

  The getpass() function opens the process' controlling terminal file,
  flushes output, disables echoing, and reads up to a newline character or an
  end-of-file (EOF) character.  The terminal state is then restored and the
  controlling terminal is closed.

My guess is that getpass(3) drops dead because it sees no tty attached to the
process.

So the question is, has anyone ever used anything working under OSF1/Tru64 in
the passwd program? And if yes, how did he do it?

Thanks, Axel.
-- 
Axel.Thimm at physik.fu-berlin.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getpass.man
Type: application/x-troff-man
Size: 3002 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20010118/62e26a01/getpass.man


More information about the samba mailing list