Re: enforcing "sudo -i"

Mihai Moldovan <[email protected]> Fri, 9 Aug 2019 16:21:39 +0200
Newsgroups gmane.comp.tools.sudo.user
Message-ID <[email protected]>
* 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

____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users
signature.asc (application/pgp-signature, 899 B)
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCgAdFiEEbhHQj3UzgcdE8cg8H9Yu2W4lOocFAl1NgXMACgkQH9Yu2W4l
OochuhAAukdIksJVj2NTg7zbuhOOaX7xnuln+p+Z7z8s2o7T2CLq/ASHW4CU4NSl
GOtPxPIc0Ynh89XHeTjcWu0KIBatRJwtTnPqjPf+GOvW/Mw3LVKdzIoSltfFELaW
Parw39TDsMyCflERb2NWoZcVrJ9cXFvwr7BrJ4+xlgB012q4vUIJ6DsUCbm11nI0
UiBZNZh+hkDkfS+vCIcowHY/epQz6tqFkbGvAqIvpT0PSgRE1Rp3vsq7/xsFvQYc
GosvGZrRt2x3ZHImkXak3dJMcaO9Ukr/FLMdT59VHgHi2CO0blxFCUK8VQSnAsq3
FAXzihJGrU4rcEY49wOHZSEaz2fDWZ9c+f6dzyrAnOh15ST89CGJcmSHCQWOKSsq
WYtBarj3XSEeTByH9WZ+M7c9ijWFG0K/nae55B/NGyFDDP5bfgRnBUDHmFAZIkuC
J4yPzHKPm5Da9QeQpOtamYIdViOKy/ctgQu/r1ZSr+wJaJ7Nu5se+OzbqqJLet2y
uW+3oIGL42ipdXvcDmFb4XCdhGWHpCS7VNr2F0gMBPrsdd+gThWoUn3EiWFPaEkF
aIwKrMGEq+U95nTETPkdjln7qsX8vm1jKxMa1vYEMq58ExCwaL3OrBRc1IdyjB+r
pLJHMks8Dr+2v/34ku1cxaf7BXNsW7oX0/DT7YzUeGlHd1OBz0M=
=NcJm
-----END PGP SIGNATURE-----