So on my server, I would like to have the server and its files owned by a normal user and to have the backup script ran and the backup folders owned by root.
This way the server can run with user privileges and the separation would protect the backed up files from me or an admin in case someone was malicious or did something stupid with commands an paths.
I looked up on how to make a screen session multiuser and got it to work, but can't get the script executed as the root user to post the commands to the normal user's screen session.
So on my server, I would like to have the server and its files owned by a normal user and to have the backup script ran and the backup folders owned by root.
This way the server can run with user privileges and the separation would protect the backed up files from me or an admin in case someone was malicious or did something stupid with commands an paths.
I looked up on how to make a screen session multiuser and got it to work, but can't get the script executed as the root user to post the commands to the normal user's screen session.
Any remedy to my problem?