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.

Virsh as an other User

Featured Replies

Hello all, i hope this is the right place to post this.

So before 6.9 beta 25 i was running this script at startup :
#!/bin/bash
chown "username":users /etc/ssh/"username".pubkeys
echo ""username" ALL=(root) NOPASSWD: /usr/sbin/virsh domstate *, /usr/sbin/virsh start *, /usr/sbin/virsh shutdown *">>/etc/sudoers.d/vmc
chmod 0440 /etc/sudoers.d/vmc
mkdir /home/"username"
this allowed me to run the virsh commands as the "username" user.

After updating to 6.9 beta 25 i noticed that it no longer works, in an attempt to debug this i tried this command:

sudo -u "username" virsh domstate "vmname" and i get the following error:
error: failed to connect to the hypervisor
error: Cannot create user runtime directory '/.cache/libvirt': Permission denied

is there something i can do to be able to run this command as this user again?

Thank you in advance for your time and sorry if this is not the correct place to post 

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.