RBERRYPI ---------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 46 из 100
 От   : Theo                                3:633/10          10 май 26 12:27:35
 К    : All                                                   10 май 26 16:39:02
 Тема : Re: New installation asks for password when I `sudo -i`
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 3:633/10 de4bb6f3
@REPLY: 3:633/10 58418f5b
@PID: PyGate 1.5.14
@TID: PyGate/Linux 1.5.14
@CHRS: ASCII 1
@TZUTC: 0100
@REPLYADDR: theom+news@chiark.greenend.org.uk
@REPLYTO: 3:633/10 UUCP
@RFC-Message-ID:
PRbGA@news.chiark.greenend.org.uk>
rbowman <bowman@montana.com> wrote:
> 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)
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



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх