[net.unix-wizards] login

ps@Lbl-Unix@sri-unix (09/17/82)

From: ps at Lbl-Unix (Peter Staubach [ou])
Date: 13 Sep 1982 20:23:01-PDT
Instead of hacking on login, why not just either make login NOT setuid
root or just not make it world-executable?  Login does not have to be
either, as login is run by getty which is run by init as root, hence,
it has enough power and can be exec'd provided that any of the exec bits
are on.  This would seem to fix the problem with people using login to
change what utmp thinks.

Also, having people login over themselves messes up the connect time
accounting, at least two people get charged for the same time .

		ps

trt (09/21/82)

For years machines around here (duke, unc, mcnc) have had
the shell command 'bye' which means the same thing as control-d.
It is handy for those cases when control-d does not work.

The suggestion that 'login is a valid way to logoff'
makes sense on vanilla UNIX but none at all here.
	Tom Truscott (duke!trt)