----------------------------------------------------------------------------------
@MSGID: 3:633/10 6339b840
@REPLY: 3:633/10 a8a39d35
@PID: PyGate 1.5.14
@TID: PyGate/Linux 1.5.14
@CHRS: CP437 2
@TZUTC: 0100
@REPLYADDR: cl@isbd.net
@REPLYTO: 3:633/10 UUCP
@RFC-Message-ID: <b9u1dm-empr2.ln1@q957.zbmc.eu>
Chris Green <
cl@isbd.net> wrote:
> All my pis until now allow me to get root privileges by doing `sudo
> -i` without entering my password.
>
> One I have just installed does request my password when I do `sudo -i`.
>
> Can anyone suggest why this new one acts differently?
>
> I have checked that /etc/sudoers is the same on the new system as on
> all others. I have also checked that my user is in all the same
> groups in /etc/group.
>
> All systems are running the latest Raspbian with kernel 6.12.75.
>
Ah, I finally found the difference, all systems except the new pi have
a file /etc/sudoers.d/010_pi-nopasswd which provides the no password
"sudo -i".
The remaining question is why the latest system didn`t get this file
installed. Has rpi-imager been changed so that it no longer installs
it?
--
Chris Green
·
--- PyGate Linux v1.5.14
* Origin: Dragon`s Lair, PyGate NNTP<>Fido Gate (3:633/10)
SEEN-BY: 19/10 50/109 153/757 218/840 840 220/70
221/1 6 360 226/17 100
SEEN-BY: 229/426 240/1120 267/800 301/1 113 812
310/31 335/364 341/66 463/68
SEEN-BY: 633/10 280 414 416 418 420 422 509 2744
712/848 770/1 3 100 340 350
SEEN-BY: 772/210 220 230 5019/40 5020/715 848 1042
4441 12000 5030/49 722
SEEN-BY: 5030/1081 1474 5053/55 5061/133 5075/128
@PATH: 633/10 280 770/1 218/840 221/6 301/1
5020/1042 4441