Stop polkit-enabled programs from asking the user for a password in a live session #373
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "patch-nopasswd-live"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is something that is very annoying. I get the question "what password do I use???" about 5 times a week. This MR simply removes the password for the "manjaro" user in a live session. This is already done for sudo, but not for polkit for some reason.
Additionally, I took the time to create the proper symlinks for NXD and some OEM stuff
Upstreamed from
gitlab.com/garuda-linux/tools/iso-profiles/-@b72660f2a8changed the description
added 2 commits
Compare with previous version
changed the description
The issue with this is, that we can change the user name via our tools. So I rather would generate that polkit-1 rule on the fly via tools.
Alright, I'll take a look. Another alternative would be to just let UID=1000 be the condition, what do you think?
Hm, manjaro-tools is a behemoth I really don't want to deal with right now, and it seems like polkit doesn't actually expose the UID. A hack would be to check if the user is in the autologin group, since that is the case by default.
Maybe I'll take a look at pam and disable the password for the user in general 🤔
mentioned in commit tools/development-tools/manjaro-tools@35f27fc4f3ad355143cff492c94afd1ee67e3675
mentioned in commit tools/development-tools/manjaro-tools@41242f4d5c4f259ca382e96d6bce5a3bac682693
added 2 commits
Compare with previous version
@philm Thanks for accepting this into manjaro-tools, I removed the polkit related changes from this merge request, so the rest should be ready for merging.
This seems to have been merged - some house keeping would be to remove the MR - or am I mistaken somehow?
This is apparently already merged and quite old. Closing.
Pull request closed