Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #231259

Re: Sudo ... use or delete?

From Antonio Russo <aerusso@aerusso.net>
Newsgroups linux.debian.user
Subject Re: Sudo ... use or delete?
Date 2021-01-29 16:20 +0100
Message-ID <BCDIZ-8qb-1@gated-at.bofh.it> (permalink)
References <BCDpD-84t-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 1/29/21 7:34 AM, Peter Ehlert wrote:
> I don't use sudo
> 
> The systems I use and the systems I setup for others never have sudo users setup ... unneeded.
> 
> 
> Should I delete the sudo package? Would that cause some internal conflicts?
> they all have Debian Mate desktops... if that makes any difference, I think not.
> 

As a general rule, if there are no depends or recommends (or suggests) on a
package, you should be safe to remove a package you don't directly call. 
(If not, it's a bug.).

You can easily view this with aptitude:

0. Install aptitude and open it up.
1. Find the package: type /^sudo$ <return>
2. Hit return again to bring up details of the selected package
3. Use the down arrow key to go to "packages which depend on sudo"
4. Hit enter to open up the list of packages.
5. Browse the list to see which packages may be affected.

But, more specifically to your question about sudo, let me argue that, at the
level of paranoia required to be worried about sudo, you should also be
worried about a LOT of other packages.  For instance, if you are worried about
the "opaque" ACLs used in sudoers*, I encourage you to look in
/etc/dbus-1/system.d .  I think there are other places where these kinds of
files live, but I haven't yet gotten around to understanding how to easily
audit these settings.

Similarly, the logic associated with authentication (and message passing)
could easily be more susceptible to buffer overflows than sudo.

But yeah, generically, if you really do not use a piece of software, it's
safer not to have it installed.

Antonio


 

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Sudo ... use or delete? Peter Ehlert <peter@sdi-baja.com> - 2021-01-29 16:00 +0100
  Re: Sudo ... use or delete? Greg Wooledge <wooledg@eeg.ccf.org> - 2021-01-29 16:00 +0100
  Re: Sudo ... use or delete? Antonio Russo <aerusso@aerusso.net> - 2021-01-29 16:20 +0100
    Re: Sudo ... use or delete? <tomas@tuxteam.de> - 2021-01-29 16:50 +0100
      Re: Sudo ... use or delete? Eike Lantzsch <zp6cge@gmx.net> - 2021-01-29 18:40 +0100
        Re: Sudo ... use or delete? Roberto C. Sánchez <roberto@debian.org> - 2021-01-29 19:30 +0100
          Re: Sudo ... use or delete? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-29 20:50 +0100
  Re: Sudo ... use or delete? Teemu Likonen <tlikonen@iki.fi> - 2021-01-29 17:00 +0100
    Re: Sudo ... use or delete? john doe <johndoe65534@mail.com> - 2021-01-29 17:00 +0100
      Re: Sudo ... use or delete? Antonio Russo <aerusso@aerusso.net> - 2021-01-29 17:00 +0100
        Re: Sudo ... use or delete? john doe <johndoe65534@mail.com> - 2021-01-29 17:30 +0100
    Re: Sudo ... use or delete? Peter Ehlert <peter@sdi-baja.com> - 2021-01-29 18:10 +0100
  Re: Sudo ... use or delete? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-29 20:50 +0100
    Re: Sudo ... use or delete? Peter Ehlert <peter@sdi-baja.com> - 2021-01-30 14:30 +0100

csiph-web