RBERRYPI ---------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 88 из 100
 От   : Theo                                3:633/10          11 май 26 12:25:44
 К    : All                                                   11 май 26 03:08:19
 Тема : Re: New installation asks for password when I `sudo -i`
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 3:633/10 7cae30ce
@REPLY: 3:633/10 ccc95b55
@PID: PyGate 1.5.14
@TID: PyGate/Linux 1.5.14
@CHRS: CP1252 2
@TZUTC: 0100
@REPLYADDR: theom+news@chiark.greenend.org.uk
@REPLYTO: 3:633/10 UUCP
@RFC-Message-ID:
U8gGA@news.chiark.greenend.org.uk>
Lawrence D?Oliveiro <ldo@nz.invalid> wrote:
> On 10 May 2026 12:27:35 +0100 (BST), Theo wrote:

> > Unlike Windows, there are no `Administrator` accounts that have
> > extra powers.

> ?root? is an actual ?account that has extra powers?. Yes, it?s easy
> enough to set things up so you can log directly into it. It?s your
> machine, not under the control of Apple or Microsoft, you can do what
> you like.

On Windows, you have have a regular account with administrator privileges,
and that account can Do More Stuff.  Most of the time you`re being you, and
not being administrator - it`s just that your account can do those extra
things when needed.

On Linux, root has administrator privileges but it`s a Very Bad Idea to
use root as a regular user account, especially at the GUI.  So typically you
just borrow the use of root for a short while to do something and then drop
back to a non-root user.

In one way of doing things you can `login as root` eg on a console, do your
things, then logout.  sudo is just a way to make that more convenient when
you are logged in as another user.

That`s not to say you can`t login as root on the GUI and run your web
browser, but you may find things don`t work properly.  There are
increasingly more checks that say things like `if uid==0 then error else
...` to guard against exploits where the attacker gets root privs.

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    
                                                                                
В этой области больше нет сообщений.

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