summaryrefslogtreecommitdiffstats
path: root/pyanaconda/ui/gui/spokes/password.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyanaconda/ui/gui/spokes/password.py')
-rw-r--r--pyanaconda/ui/gui/spokes/password.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyanaconda/ui/gui/spokes/password.py b/pyanaconda/ui/gui/spokes/password.py
index 441050e57..7e62ec782 100644
--- a/pyanaconda/ui/gui/spokes/password.py
+++ b/pyanaconda/ui/gui/spokes/password.py
@@ -85,7 +85,8 @@ class PasswordSpoke(FirstbootSpokeMixIn, NormalSpoke):
@property
def mandatory(self):
- return not self.data.user.userList
+ return not any(user for user in self.data.user.userList
+ if "wheel" in user.groups)
def apply(self):
self.data.rootpw.password = cryptPassword(self._password)