Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: hacknews Subject: no-password logins tidied up Message-ID: <3237@utzoo.UUCP> Date: Wed, 5-Oct-83 16:40:59 EDT Article-I.D.: utzoo.3237 Posted: Wed Oct 5 16:40:59 1983 Date-Received: Wed, 5-Oct-83 16:40:59 EDT Organization: U of Toronto Zoology Lines: 13 I tidied up the machinery behind the no-password logins (who, termtest, etc.) somewhat, and also created a couple of new ones: date and ps. An attempt to coerce login(1) into handling arbitrary shell commands in the passwd line failed mysteriously; the thing is willing to run a shell command file, but I had no luck trying to get an "sh -c" to run a command directly from the passwd line. "0: not a variable" and suchlike bizarre messages from the attempt to run "df -p ; sleep 10". Anyway, see logins(8). -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry