Sujet : Re: Yet Another New systemd Feature
De : gtaylor (at) *nospam* tnetconsulting.net (Grant Taylor)
Groupes : comp.os.linux.miscDate : 10. May 2024, 00:59:07
Autres entêtes
Organisation : TNet Consulting
Message-ID : <v1jkfr$apu$1@tncsrv09.home.tnetconsulting.net>
References : 1 2 3 4 5 6 7 8 9 10 11 12
User-Agent : Mozilla Thunderbird
On 5/9/24 12:20, candycanearter07 wrote:
Wouldn't it still try to call itself?
Not if you take care to make sure it doesn't happen.
The wrapper script sets it's own PATH to directories that don't include sym-links to itself.
Really fascinating solution otherwise, though.
Link - Sudify
-
https://dotfiles.tnetconsulting.net/tools/sudify/sudify.htmlI might implement that myself.
It's an interesting exercise.
I find sudify to be extremely helpful and means that I can do the things that need other user privileges EXTREMELY transparently while in the shell as my user.
-- Grant. . . .