Add qubes.VMRootShell service
It is the same as qubes.VMShell - the actual difference is in qrexec policy, which contains 'user=root' option. QubesOS/qubes-issues#2572
This commit is contained in:
parent
0bee339ffb
commit
422f03e9ac
1
Makefile
1
Makefile
@ -254,6 +254,7 @@ install-common:
|
|||||||
install -m 0644 qubes-rpc/{qvm-copy.desktop,qvm-move.desktop,qvm-dvm.desktop} $(DESTDIR)/$(KDESERVICEDIR)
|
install -m 0644 qubes-rpc/{qvm-copy.desktop,qvm-move.desktop,qvm-dvm.desktop} $(DESTDIR)/$(KDESERVICEDIR)
|
||||||
install -d $(DESTDIR)/etc/qubes-rpc
|
install -d $(DESTDIR)/etc/qubes-rpc
|
||||||
install -m 0644 qubes-rpc/{qubes.Filecopy,qubes.OpenInVM,qubes.VMShell,qubes.SyncNtpClock} $(DESTDIR)/etc/qubes-rpc
|
install -m 0644 qubes-rpc/{qubes.Filecopy,qubes.OpenInVM,qubes.VMShell,qubes.SyncNtpClock} $(DESTDIR)/etc/qubes-rpc
|
||||||
|
install -m 0755 qubes-rpc/qubes.VMRootShell $(DESTDIR)/etc/qubes-rpc
|
||||||
install -m 0755 qubes-rpc/qubes.OpenURL $(DESTDIR)/etc/qubes-rpc
|
install -m 0755 qubes-rpc/qubes.OpenURL $(DESTDIR)/etc/qubes-rpc
|
||||||
install -m 0644 qubes-rpc/{qubes.SuspendPre,qubes.SuspendPost,qubes.GetAppmenus} $(DESTDIR)/etc/qubes-rpc
|
install -m 0644 qubes-rpc/{qubes.SuspendPre,qubes.SuspendPost,qubes.GetAppmenus} $(DESTDIR)/etc/qubes-rpc
|
||||||
install -m 0755 qubes-rpc/qubes.SuspendPreAll $(DESTDIR)/etc/qubes-rpc
|
install -m 0755 qubes-rpc/qubes.SuspendPreAll $(DESTDIR)/etc/qubes-rpc
|
||||||
|
1
debian/qubes-core-agent.install
vendored
1
debian/qubes-core-agent.install
vendored
@ -26,6 +26,7 @@ etc/qubes-rpc/qubes.SuspendPre
|
|||||||
etc/qubes-rpc/qubes.SuspendPreAll
|
etc/qubes-rpc/qubes.SuspendPreAll
|
||||||
etc/qubes-rpc/qubes.SyncNtpClock
|
etc/qubes-rpc/qubes.SyncNtpClock
|
||||||
etc/qubes-rpc/qubes.VMShell
|
etc/qubes-rpc/qubes.VMShell
|
||||||
|
etc/qubes-rpc/qubes.VMRootShell
|
||||||
etc/qubes-rpc/qubes.WaitForSession
|
etc/qubes-rpc/qubes.WaitForSession
|
||||||
etc/qubes-suspend-module-blacklist
|
etc/qubes-suspend-module-blacklist
|
||||||
etc/qubes/autostart/*
|
etc/qubes/autostart/*
|
||||||
|
4
qubes-rpc/qubes.VMRootShell
Executable file
4
qubes-rpc/qubes.VMRootShell
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# This is the same as qubes.VMShell. The actual difference is in qrexec policy,
|
||||||
|
# which contains 'user=root' option.
|
||||||
|
exec /bin/bash
|
@ -492,6 +492,7 @@ rm -f %{name}-%{version}
|
|||||||
%config(noreplace) /etc/qubes-rpc/qubes.OpenURL
|
%config(noreplace) /etc/qubes-rpc/qubes.OpenURL
|
||||||
%config(noreplace) /etc/qubes-rpc/qubes.GetAppmenus
|
%config(noreplace) /etc/qubes-rpc/qubes.GetAppmenus
|
||||||
%config(noreplace) /etc/qubes-rpc/qubes.VMShell
|
%config(noreplace) /etc/qubes-rpc/qubes.VMShell
|
||||||
|
%config(noreplace) /etc/qubes-rpc/qubes.VMRootShell
|
||||||
%config(noreplace) /etc/qubes-rpc/qubes.SyncNtpClock
|
%config(noreplace) /etc/qubes-rpc/qubes.SyncNtpClock
|
||||||
%config(noreplace) /etc/qubes-rpc/qubes.SuspendPre
|
%config(noreplace) /etc/qubes-rpc/qubes.SuspendPre
|
||||||
%config(noreplace) /etc/qubes-rpc/qubes.SuspendPreAll
|
%config(noreplace) /etc/qubes-rpc/qubes.SuspendPreAll
|
||||||
|
Loading…
Reference in New Issue
Block a user