----------------------------------------------------------------------------------
@MSGID: 3:633/10 92f37f84
@REPLY: 3:633/10 6339b840
@PID: PyGate 1.5.14
@TID: PyGate/Linux 1.5.14
@CHRS: ASCII 1
@TZUTC: 1100
@REPLYADDR: knute2025@585ranch.com
@REPLYTO: 3:633/10 UUCP
@RFC-Message-ID: <10tlkrn$34bm1$1@dont-email.me>
On 5/8/26 15:39, Chris Green wrote:
> 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?
>
As I understand it, the latest OS image now has that limitation that you
need a password for sudo. My Xubuntu desktop has been like that for
years. 25 years ago I had BSD installed on a 386 and it required a
separate password for root. They are just trying to make the computers
a little more secure. They got rid of pi and raspberry a couple of
years ago. This is just one more step in that direction.
--
Knute Johnson
--- 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