Re: enforcing "sudo -i"

Grant Taylor via sudo-users <[email protected]> Fri, 9 Aug 2019 10:44:26 -0600
Newsgroups gmane.comp.tools.sudo.user
Organization TNet Consulting
Message-ID <[email protected]>
On 8/9/19 6:11 AM, Shawn McMahon wrote:
> Lose the ability to have accounts with  /bin/false as the shell that 
> can run commands using sudo, but never get a shell. sudo -i will just 
> "exit 1" with those.

Hum.

Okay.

So there would need to be some intelligence to it.

  · Intelligently handle non-shells
  · Intelligently handle other incompatible flags, e.g. -l  (Credit to 
Mihai M.)



-- 
Grant. . . .
unix || die

____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users