this post was submitted on 27 Jun 2025
1311 points (99.3% liked)

memes

15844 readers
2926 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to [email protected]

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 12 points 2 days ago* (last edited 2 days ago) (9 children)

Is there a technical reason that Linux apps can't/don't just pop up an authenticator thing asking for more privileges like Windows apps can do? Why does nano just say that the file is unwriteable instead of letting me increase the privileges?

[–] [email protected] 11 points 2 days ago (2 children)

Some do. I'm sure it is possible with terminal programs. In KDE, you do get authenticator pop-ups.

[–] [email protected] 1 points 1 day ago* (last edited 1 day ago)

Hmm I just tried editing some systemd service with Kate and it did actually give me an authenticator popup when I tried to save it

Although then the prompt expired and now it does nothing when I try to save it. Restarted Kate and now it works again...

I haven't tried that before

When I try to go into the sudoers.d folder tho it just says I can't, and the same thing happens when I try to open the sudoers file in Kate. If I try to copy and paste a systemd service in dolphin tho it just says I don't have permission and doesn't give a prompt.

lol if I open it with nano through sudo it says 'sudoers is meant to be read only'

[–] [email protected] 4 points 2 days ago (2 children)

With arch+xfce4 I mostly don't. Except for when I do systemctl reload in a cli without sudo and it pops a surprise elevation password request gui in my face. I haven't figured out what makes it behave like that.

I use Arch btw 👉🧐 eats booger

[–] [email protected] 3 points 1 day ago* (last edited 1 day ago)

That’s the result of polkit (policy kit) authentication agents. These are typically DE-specific for their GUIs.

pkexec is comparable to sudo and can be used from the terminal to get the graphical prompt for elevated commands.

[–] [email protected] 1 points 1 day ago

Yeah, when I was on xfce on Arch I remember going into some places in the file manager where it wouldn't let me edit files etc without running it from the terminal through sudo.

load more comments (6 replies)