[gnome-boxes] express,fedora: Add user to 'wheel' group



commit 1d00b9023cd2b2f4d4a92c11e488cdcf99e7a406
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Jan 19 02:53:30 2012 +0200

    express,fedora: Add user to 'wheel' group
    
    Fedora adds the 'wheel' group to sudoers for us so we can just add the
    user to 'wheel' group rather than manually editing the sudoers file.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=668230

 data/fedora.ks |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/fedora.ks b/data/fedora.ks
index 1a2bd6a..9d22972 100644
--- a/data/fedora.ks
+++ b/data/fedora.ks
@@ -40,7 +40,7 @@ xorg-x11-drv-qxl
 %post --erroronfail
 
 # Add user to admin group
-echo "BOXES_USERNAME  ALL=(ALL)    ALL" >> /etc/sudoers
+usermod BOXES_USERNAME -a -G wheel
 
 # Enable autologin
 echo "[daemon]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]