Subject: Re: ksh won't read /etc/suid_profile
To: <>
From: David Laight <david@l8s.co.uk>
List: netbsd-users
Date: 05/20/2002 17:22:14
On Mon, May 20, 2002 at 12:12:57PM -0400, Andrew Brown wrote:

> i also just type 'su' all my itself.  works fer me.  :)

But is a security 'problem' - because you end up with the
original users $PATH.  Probably ok if you are the user, but
if you are using someone elses terminal they could arrange
to set up a backdoor when you go to help them out...

> >Often [ "$RANDOM" = "RANDOM" ] is used to separate ksh from
> >the bourne sh.
> 
> do you mean '[ "$RANDOM" = "$RANDOM" ]'?

yes!


	David

-- 
David Laight: david@l8s.co.uk