14

start screen session as different user

view full story
linux-howto

https://bbs.archlinux.org – This is driving me nuts. I run an opensim server on system, and currently have a watchdog script used to check that the server is running and either run it or re-start it as necessary (in the event of a server crash).The server itself is run in a gnu screen session so that I can log in to the server remotely via ssh. At the moment I run my watchdog at login, which is not ideal. I want to run it at boot so that I don't actually have to login to start. A prime candidate for rc.local. However, starting the script in rc.local always starts the screen session as root, whatever I do, which is n (HowTos)