Subject: Re: "Don't login as root, use the su command."
To: Andrew Gillham <gillhaa@ghost.whirlpool.com>
From: David Brownlee <abs@netbsd.org>
List: current-users
Date: 02/10/2000 21:33:09
On Thu, 10 Feb 2000, Andrew Gillham wrote:

> David Brownlee writes:
> > 
> > 	We _could_ change it to
> > 
> > if (`tty | xargs ls -l | awk '{print $3}'` != $USER ) then
> > 	echo message
> > endif
> 
> How about:
> 
> if ( -e .message ) cat .message
> 
> Then you add the warnings to .message, and it is easier to delete
> or modify for local stuff.

	The message is output in the 'su -' case, which is bogus.
	We have three options:
	a) Status quo - NetBSD does the Wrong Thing some of the time.
	b) Add several extra processes to fix it, unwanted overhead.
	c) Remove the whole thing.

	I just cannot abide 'a', and 'b' seems like a bandaid, so I
	guess that leaves us 'c'.

	Unless anyone really objects, thats just what I'll do :)

		David/absolute