Using screen after sudo bash

"John K. Sherwood" <jsherwoo-PfSxhV/[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <CA017740.7E80%[email protected]>
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 "username [priv]", but instead as "root" directly.  Is this intentional?  It seems as though screen should maintain your identity unless expressly instructed to log you in as someone else.  Maybe I'm missing something though?

Thanks,

-John

_______________________________________________
screen-users mailing list
screen-users-mXXj517/[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.