-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"screen" is not hidden #2
Comments
My assumption is that it would occur since the effective GID of the user is changed when using tmux or screen. |
Problem fixed. The screen process is now completely hidden from process viewers. |
Alright, so screen is responsible for making FIFOs, which are basically the screen sessions. The call that does this is mkfifo(). Discard everything I said that has a strike through it. FIFO files can't have extended attributes applied to them. But they can however, like everything else, have group IDs applied. I'll work something out. |
Screen is great for launching process in the background and being able to interact with it any time. |
@mempodippy Thank you for trying :) but your modification isn't working:
|
I do actually have a mkfifo hook that redirects the fifo file and makes a symlink, but it doesn't work for some reason. It creates the fifo file in a different location and creates the symlink fine, but when trying to hide the link, mkfifo (or screen) throws an error. I'll push what I have right now and I'll add some commentary so that my intentions are somewhat clearer. |
When I run the screen command, the owner of the machine (logged as root) can view the running command inside
top
/htop
and can join the screen session.I've the almost same behavior with tmux but the tmux running command isn't listed inside the "top"/"htop" command.
Is there a way to hide completely a screen/tmux session or does exist a multiplexer terminal program that doesn't allow other users to join the session?
The text was updated successfully, but these errors were encountered: