passwd program

Stuart Cracraft cracraft at ai.mit.edu
Wed Dec 13 08:59:16 AEST 1989


I have some concern about the recently announced enhanced passwd program.

The new passwd won't work in an emacs shell because when it checks for the
username, it only uses getlogin() which returns null for pty's. It must do
a more elaborate check in the case getlogin() returns null.

Next, it does not seem to disable echo mode sufficiently, so that in an
emacs shell, the password echoes!

It looks like a pretty nice upgrade, except for the above nits.

	--Stuart



More information about the Comp.sys.sun mailing list