Re: Using screen after sudo bash

2011-05-26 Thread Aaron Davies
On Thu, May 26, 2011 at 11:13 AM, Kipling Inscore wrote: > While screen is running, the tty (at least if it's a pts) from which > screen was launched still exists (and is still owned by user, not > root) but isn't listed by w or who. Perhaps it's something to do with > how w and who work or what

Re: Using screen after sudo bash

2011-05-26 Thread Kipling Inscore
hu, May 26, 2011 at 07:09, John K. Sherwood wrote: > The situation I was talking about was the first one: > >        user$ sudo bash >        password: >        root# screen > > I understand that if it is run by root you might expect it to spawn shells > as the user root; however, if you run the u

Re: Using screen after sudo bash

2011-05-25 Thread Kipling Inscore
On Tue, May 24, 2011 at 11:54, John K. Sherwood wrote: > Hello all, > I've been using screen for a while, but recently one of our system > administrators noticed an interesting quirk of screen that made me wonder. >  It seems that if you run 'screen' after running 'sudo bash', the system (as With

Using screen after sudo bash

2011-05-25 Thread John K. Sherwood
Hello all, I've been using screen for a while, but recently one of our system administrators noticed an interesting quirk of screen that made me wonder. It seems that if you run 'screen' after running 'sudo bash', the system (as shown by the utilities 'w' and 'who') no longer sees you as "user