From 868fd1f4316c2b817e8399986eaf95ccc7d29b87 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 12 May 2011 19:15:24 +0200 Subject: [PATCH] vm: Remove root password to allow easy escalation from UI application (#202) Ex. gpk-application needs this to work properly while running from user. When root password is set - polkit-daemon asks for it (according to polkit setting). --- rpm_spec/core-commonvm.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm_spec/core-commonvm.spec b/rpm_spec/core-commonvm.spec index d4944b7..9e484d0 100644 --- a/rpm_spec/core-commonvm.spec +++ b/rpm_spec/core-commonvm.spec @@ -129,12 +129,12 @@ done echo 'OnlyShowIn=GNOME;UpdateableVM;' >> /etc/xdg/autostart/gpk-update-icon.desktop || : echo 'OnlyShowIn=GNOME;NetVM;' >> /etc/xdg/autostart/nm-applet.desktop || : +usermod -p '' root if [ "$1" != 1 ] ; then # do this whole %post thing only when updating for the first time... exit 0 fi -usermod -L root if ! [ -f /var/lib/qubes/serial.orig ] ; then cp /etc/init/serial.conf /var/lib/qubes/serial.orig fi