RetroFed Forum
Your home away from modern life.
Raspberry Pi OS ends open-door policy for sudo
Post Reply
AuthorMessage
Leo lemmy.linuxuserspace.show leo@lemmy.linuxuserspace.show
Joined: 2023-06-13
Quote

30   Original
Em Adespoton lemmy.ca adespoton@lemmy.ca
Joined: 2023-06-04
#2 · Quote Reply

Someone needs to come up with a variant of su that will let you log in to an elevated account for a fixed purpose or time… so you can kick off an elevated process chain but know that some other person or script can’t piggyback on your session to do other stuff.

Sudo always felt like a system with that sort of potential but way too large an attack surface.

5
RiceManatee lemmy.ca RiceManatee@lemmy.ca
Joined: 2024-03-31
#3 · Quote Reply

Someone needs to come up with a variant of su that will let you log in to an elevated account for a fixed purpose or time… so you can kick off an elevated process chain but know that some other person or script can’t piggyback on your session to do other stuff. Sudo always felt like a system with that sort of potential but way too large an attack surface.

It's almost like you dream of pfexec.

5
hitmyspot aussie.zone hitmyspot@aussie.zone
Joined: 2023-07-03
#4 · Quote Reply

Someone needs to come up with a variant of su that will let you log in to an elevated account for a fixed purpose or time… so you can kick off an elevated process chain but know that some other person or script can’t piggyback on your session to do other stuff. Sudo always felt like a system with that sort of potential but way too large an attack surface.

Windows allows you to open cmd as an administrator, so all you do in that tab is as an admin. In assume something similar could don't, but obviously coukdnbe used for escalation attacks.

-2
nomad infosec.pub Nomad@infosec.pub
Joined: 2023-06-16
#5 · Quote Reply

Someone needs to come up with a variant of su that will let you log in to an elevated account for a fixed purpose or time… so you can kick off an elevated process chain but know that some other person or script can’t piggyback on your session to do other stuff. Sudo always felt like a system with that sort of potential but way too large an attack surface.

That would not work. You might reduce the time frame for an attack but any second of elevated privileges is enough to backdoor the system and let somebody in.

1
Post Reply
Back to top