On Di, 30.11.21 15:57, Adam Williamson (adamw...@fedoraproject.org) wrote:

> On Tue, 2021-11-30 at 22:39 +0000, Sérgio Basto wrote:
> > On Tue, 2021-11-30 at 16:03 -0500, Matthew Miller wrote:
> > > On Tue, Nov 30, 2021 at 11:13:19AM +0000, Sérgio Basto wrote:
> > > > I don't use sudo , and I'm against the use of sudo  , Fedora
> > > > tradition
> > > > do things as root .
> > >
> > > I hope we don't! Doing things with least required privilege is an
> > > important
> > > security principle, one which was actually pioneered here with the
> > > usermode/consolehelper tools and then policykit and dbus helpers for
> > > GUI
> > > applications. And we've been putting people in `wheel` by default and
> > > configuring sudo in the corresponding way since... F15, I think.
> >
> > yes , I mean be administrator with sudo (more than like in Debian, is
> > like in Ubuntu) and do commands like `sudo dnf` I guess  .
> > As subject says "Users are administrators" and use sudo to execute all
> > kind of administration, I prefer do `su -` and execute the commands,
> > that what I meant by "I don't use sudo" .
>
> You know you can just do "sudo su" if you prefer that style, right?

So you transition to root one way, and then transition again to root
from there? What's the point of that? We must go deeper?

"sudo -s" is what you are looking for: one transition only, and you
get a shell.

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to