Derek_ Posted April 15, 2020 Share Posted April 15, 2020 I'm using the SSH plugin to give me shells for users other than root. I'd like to be able to send notifications as these non-root users. Can i? Please? pretty please? cherry on top? I'm pretty sure when i first set it up in 6.7.2, it worked. But it hasn't for a while now - since i moved to 6.8.x Example: /usr/local/emhttp/webGui/scripts/notify -e "$(date +"%Y-%m-%d %H:%M")" -s "borg-check >> SUCCESS <<" -d "test :: Finished successfully ::" -m "Logs :: test" -i "normal" Cheers. Quote Link to comment
bonienl Posted April 15, 2020 Share Posted April 15, 2020 Unraid doesn't know "other" users as in the traditional linux world. The user "root" the only user which operates at system level. There exist plans to introduce "admin" users to Unraid, but nothing about these plans is concrete. Quote Link to comment
Derek_ Posted April 15, 2020 Author Share Posted April 15, 2020 @bonienl You made bunny cry! 😭 Dang. It looks like i'm going to have to make liberal use of chown to fix ownership of files after my script does its thing as root I've tried everything i can find to switch between root and my 'backup-user' (who owns my backups) but i just can't make all the features work as so much must be run as root. Bummer - that means more testing. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.