Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!genrad!decvax!harpo!seismo!hao!hplabs!sri-unix!mark.umcp-cs@udel-relay From: mark.umcp-cs%udel-relay@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: Re: question about getpass Message-ID: <2067@sri-arpa.UUCP> Date: Sun, 12-Jun-83 20:32:47 EDT Article-I.D.: sri-arpa.2067 Posted: Sun Jun 12 20:32:47 1983 Date-Received: Tue, 14-Jun-83 03:56:29 EDT Lines: 12 From: Mark WeiserIn the documentatin of getpass(3) it says that the routine reads a password from standard input if it connot open "/dev/tty." How can one make /dev/tty unopenable? Thanks for any suggestions or solutions. An easy way to make /dev/tty unopenable is for someone to open it exclusive mode. This works for everyone but the superuser, who can always open everything (at least in 4.1bsd). I haven't found any way around the superuser exception. +