Sudo'ing to a user then running screen doesn't work out of the box. Typically you get the following error:
Cannot open your terminal '/dev/pts/1' - please check.
The solution:
sudo su - someuserscript /dev/nullscreen
Source: http://dbadump.blogspot.com/2009/04/start-screen-after-sudo-su-to-another.html
No comments:
Post a Comment