Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can i run 'notify' as a user other than root?

Featured Replies

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

 

image.png.4402a2d27c3aaf462126b9b8c90bf91b.png

 

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.

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.

 

 

  • Author

@bonienl

 

You made bunny cry! 😭

 

:D

 

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.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.