Tru64 and password chatting

Axel Thimm Axel.Thimm at
Wed Jan 17 23:29:59 GMT 2001


I had this problem already years ago

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

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
-------------- next part --------------
A non-text attachment was scrubbed...
Type: application/x-troff-man
Size: 3002 bytes
Desc: not available
Url :

More information about the samba mailing list