Add qubes group to suders that can do everything

(The file in /etc/sudoers.d/ cannot have '.' in its name!)
This commit is contained in:
Joanna Rutkowska 2011-04-05 16:04:09 +02:00
parent 09bf482b35
commit c80a1c18ac
2 changed files with 5 additions and 0 deletions

1
dom0/qubes.sudoers Normal file
View File

@ -0,0 +1 @@
%qubes ALL=(ALL) NOPASSWD: ALL

View File

@ -131,6 +131,9 @@ mkdir -p $RPM_BUILD_ROOT/var/run/qubes
install -D ../vchan/libvchan.so $RPM_BUILD_ROOT/%{_libdir}/libvchan.so
install -D ../u2mfn/libu2mfn.so $RPM_BUILD_ROOT/%{_libdir}/libu2mfn.so
install -d $RPM_BUILD_ROOT/etc/sudoers.d
install -m 0440 qubes.sudoers $RPM_BUILD_ROOT/etc/sudoers.d/qubes
%post
# Create NetworkManager configuration if we do not have it
@ -275,3 +278,4 @@ fi
%attr(770,root,qubes) %dir /var/run/qubes
%{_libdir}/libvchan.so
%{_libdir}/libu2mfn.so
/etc/sudoers.d/qubes