Firstly, what's the best way to execute commands on startup, cron? Can I use
su in a shell script to switch between different users, if so how?
How do I create several detached
screen sessions on startup?
screen -A -m -d -S test ./script.sh seems like it should work but using it in a script started by cron doesn't show any screen sessions running after booting.
It looks like the screen session is closed after the command finishes executing, can I keep it open so I can see the output?