Groups | Search | Server Info | Login | Register
Groups > comp.sys.raspberry-pi > #37942
| From | Chris Green <cl@isbd.net> |
|---|---|
| Newsgroups | comp.sys.raspberry-pi |
| Subject | Re: New installation asks for password when I 'sudo -i' |
| Date | 2026-05-08 21:39 +0100 |
| Message-ID | <b9u1dm-empr2.ln1@q957.zbmc.eu> (permalink) |
| References | <66t1dm-6rmr2.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 ·
Back to comp.sys.raspberry-pi | Previous | Next — Previous in thread | Next in thread | Find similar
New installation asks for password when I 'sudo -i' Chris Green <cl@isbd.net> - 2026-05-08 21:20 +0100
Re: New installation asks for password when I 'sudo -i' Chris Green <cl@isbd.net> - 2026-05-08 21:39 +0100
Re: New installation asks for password when I 'sudo -i' Knute Johnson <knute2025@585ranch.com> - 2026-05-08 16:33 -0500
Re: New installation asks for password when I 'sudo -i' rbowman <bowman@montana.com> - 2026-05-09 00:50 +0000
Re: New installation asks for password when I 'sudo -i' Chris Green <cl@isbd.net> - 2026-05-09 09:24 +0100
Re: New installation asks for password when I 'sudo -i' Daniel James <daniel@me.invalid> - 2026-05-09 10:47 +0100
Re: New installation asks for password when I 'sudo -i' Richard Kettlewell <invalid@invalid.invalid> - 2026-05-10 10:49 +0100
Re: New installation asks for password when I 'sudo -i' rbowman <bowman@montana.com> - 2026-05-09 17:35 +0000
Re: New installation asks for password when I 'sudo -i' The Natural Philosopher <tnp@invalid.invalid> - 2026-05-10 00:55 +0100
Re: New installation asks for password when I 'sudo -i' Chris Green <cl@isbd.net> - 2026-05-10 08:45 +0100
Re: New installation asks for password when I 'sudo -i' rbowman <bowman@montana.com> - 2026-05-10 17:21 +0000
Re: New installation asks for password when I 'sudo -i' Theo <theom+news@chiark.greenend.org.uk> - 2026-05-10 12:27 +0100
Re: New installation asks for password when I 'sudo -i' Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-05-10 19:46 +0000
Re: New installation asks for password when I 'sudo -i' Theo <theom+news@chiark.greenend.org.uk> - 2026-05-11 12:25 +0100
Re: New installation asks for password when I 'sudo -i' The Natural Philosopher <tnp@invalid.invalid> - 2026-05-09 03:38 +0100
Re: New installation asks for password when I 'sudo -i' "wibble@bibble.com.invalid" <wibble@bibble.com.invalid> - 2026-05-09 12:09 +0100
csiph-web