Better Method of Opening TTY Permissions

Posted by VxJasonxV on Server Fault See other posts from Server Fault or by VxJasonxV
Published on 2010-03-29T19:24:38Z Indexed on 2010/03/29 19:33 UTC
Read the original article Hit count: 363

Filed under:

At work, I have a few legacy servers that I log into as root, and then su down to a user. I continue to run into an issue where after doing so, I am unable to run screen as this user.

I don't want to open screen as root, because then I have to consciously su down the user every new shell, and I often forget.

The question is, is there an easier resolution to this than I'm currently aware of? My current solution is to find my terminal pts number, then set it chmod 666.

I'm looking for something akin to X11's xhost ACL management, if such a thing exists for this situation.

© Server Fault or respective owner

Related posts about screen