-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't skip Authentication Required
despite sudoers
edit
#58
Comments
The graphical popup is not sudo but is actually polkit. You would need to modify the polkit policy. |
Thanks for the info. Mind elaborate a bit? I'm not familiar with polkit.. |
Polkit is what controls privilege escalation for applications like KDE Partition Manager. You can create a global polkit rule to allow any user in the wheel group to automatically be granted privileges instead of asking each time. Create a file named polkit.addRule(function(action, subject) {
if (subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
}); This should make it so apps like KDE Partition Manager won't ask for a password. See https://wiki.archlinux.org/title/Polkit#Examples for more examples and info. |
Thanks for the detailed instruction. I always thought |
Although not entirely accurate, you can view sudo as suited for privilige escalation of command-line applications and polkit suited for privilge escalation of GUI applications. This is not completely true, but it can be useful for determining which of the two is probably responsible for the app you're trying to run. |
Both |
Describe the bug
Usually in situations such as opening apps like the
KDE Partition Manager
, anAuthentication Required
pops up and I’ll need to type the password to authenticate as myself. I’m the only person using this computer and would like a way to avoid having to type password every time doing things such as managing disks.So far I’ve tried
sudo visudo
to editsudoers
by addingDefaults timestamp_timeout = -1
Defaults !authenticate
or
%wheel ALL=(ALL) NOPASSWD: ALL
my_name ALL=(ALL) NOPASSWD: ALL
at the end,but none works.
What did you expect to happen?
Ideally, once I log into the desktop session, I’d like to not have to type password again until I log out or reboot. Or at least when authentication is required, I can simply click
OK
or pressenter
to confirm I’m the admin like in Windows.Output of
bootc status
Output of
groups
Extra information or context
The text was updated successfully, but these errors were encountered: