On Mon, Jan 04, 1999 at 10:30:39AM -0500, Sam wrote:
> On Mon, 4 Jan 1999, Mate Wierdl wrote:
> 
> > > If you started it, yes. Nothing has changed. Otherwise, you couldn't ctrl-C
> > > out of anything SUID.. that would be bad. On the other hand, not allowing
> > > users to send signal to those processes has a lot of advantages too.. like
> > > security.
> > 
> > So then what is going to happen, if under X, you su to root, and then quit X?
> 
> When X shuts down, the su shell will get an end-of-file indication on
> standard input.
> 
> It appears that certain dumb shell may tell you 'you must use exit to
> logout' when you manually CTRL-D them, but I think there's a way to tell
> them that there's a real EOF condition.

SIGHUP?

Greetz, Peter.
-- 
<squeezer> AND I AM GONNA KILL MIKE                |          Peter van Dijk
<squeezer> hardbeat, als je nog nuchter bent:      | [EMAIL PROTECTED]
<squeezer>   @date = localtime(time);              |  realtime security d00d
<squeezer>   $date[5] += 2000 if ($date[5] < 37);  | 
<squeezer>   $date[5] += 1900 if ($date[5] < 99);  |    -x- available -x-

Reply via email to