Path: ...!weretis.net!feeder9.news.weretis.net!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.omega.home.tnetconsulting.net!not-for-mail From: Grant Taylor Newsgroups: comp.os.linux.misc Subject: Re: Yet Another New systemd Feature Date: Thu, 9 May 2024 17:59:07 -0500 Organization: TNet Consulting Message-ID: References: <4ffbcb1a-6f98-328e-7854-e2a42caeca75@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 9 May 2024 22:59:07 -0000 (UTC) Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="omega.home.tnetconsulting.net:198.18.1.140"; logging-data="11070"; mail-complaints-to="newsmaster@tnetconsulting.net" User-Agent: Mozilla Thunderbird Content-Language: en-US In-Reply-To: Bytes: 2021 Lines: 24 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.html > I 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. . . .