[sudo-users] enforcing "sudo -i"

Mihai Moldovan ionic at ionic.de
Fri Aug 9 08:21:39 MDT 2019


* On 8/9/19 2:11 PM, Shawn McMahon wrote:
>>
>>
>> Maybe I should ask said guy if there are any down sides to having -i be
>> used for all sudo commands.
>>
>>
> 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.

-i is also not a valid flag when used in list (-l) or validate (-v) modes.



Mihai

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://www.sudo.ws/pipermail/sudo-users/attachments/20190809/7d65f447/attachment.bin>


More information about the sudo-users mailing list