BBS: TELESC.NET.BR Assunto: Re: New installation asks for password when I 'sudo -i' De: Theo Data: Sun, 10 May 2026 12:27:35 +0100 ----------------------------------------------------------- rbowmanwrote: > On Sat, 9 May 2026 09:24:32 +0100, Chris Green wrote: > > > I wish they'd make this sort of change more explicit. It had me confused > > for a while. I have loads of other Linux based systems and I'm used to > > them requiring a password for sudo so I don't have an issue with that. I > > just don't like things like this changing without the change being noted > > somewhere. > > The RPi confused me too. If I don't have to give a password for sudo, why > do I even have to type sudo? I like consistent and the Pi was the odd man > out. sudo means 'run this command as root'. Otherwise something would be run as a normal user. root has many special powers, which you ordinarily wouldn't give to normal things. If you ran everything as root, it would have a lot of detrimental effects beyond that command you wanted to run. Unlike Windows, there are no 'Administrator' accounts that have extra powers. Instead you have to temporarily borrow those powers from root via sudo. The password check is just a proof that you really have the rights to your account and intend to do this dangerous action, rather than say some script you downloaded trying to 'sudo dobadthing' without you knowing. Theo --- PyGate Linux v1.5.14 * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10) ----------------------------------------------------------- [Voltar]