Thursday, November 8, 2012

Portmir using screen

For those AIX lovers that have by destiny the need to play with Linux and cry because in Linux there is nothing like portmir... where there is a *like solution for this... screen... if you don´t know what screen is look at my previous post ... but here is how to configure it to share a session... 

As root:
   1. Set the screen binary setuid root.
       sudo chmod +s /usr/bin/screen
       sudo chmod 755 /var/run/screen
   2. Start screen
       screen -S portmir
   3. Verify the username with w
   4. Allow multiuser access in the screen session
       CTRL-A
       :multiuser on
   5. Grant permission to the remote user to access the session
       CTRL-A
       :acladd username
   6. The remote user can now connect to the session using
       screen -x root/portmir

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.