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


Groups > linux.debian.user > #242523

Re: Don't try this at home kids

From Darac Marjal <mailinglist@darac.org.uk>
Newsgroups linux.debian.user
Subject Re: Don't try this at home kids
Date 2021-11-30 00:00 +0100
Message-ID <DoXMR-6sm-1@gated-at.bofh.it> (permalink)
References <DoXtw-6m0-3@gated-at.bofh.it> <DoXDb-6pd-5@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 29/11/2021 22:41, Jeremy Ardley wrote:
>
> On 30/11/21 6:25 am, Bob Bernstein wrote:
>> How do I tell sudo not to ask me for my password?
>>
>> It's me. I'm on my computer. I already logged in with my password. No
>> one else is logged on.
>>
>> I know all you purists out there are rending your garments if not
>> your flesh. but c'mon sudo! Can't a brother catch a break around here?
>>
>> Thank you.
>>
> edit /etc/sudoers and modify / add
>
> username ALL=(ALL) NOPASSWD:ALL
>
> P.S. I am totally unconvinced about the arguments for using sudo
> rather than running as root. You can do exactly the same damage with
> sudo as being root user.
"sudo" is supposed to be used as part of a wider ecosystem. By
encouraging users to run "sudo foo" rather than running "foo" directly
as root, sudo can trigger audit events and so on.
> P.P.S The conventional instruction is to use visudo to do the edits.
> Which means using Vi, which is another anachronism that should be
> humanely put down.
Actually, sudo will run $SUDO_EDITOR or else $VISUAL (hence the name) or
else $EDITOR.  So, you can use emacs or joe or nano or anything like
that, if you prefer.

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


Thread

Don't try this at home kids Bob Bernstein <poobah@ruptured-duck.com> - 2021-11-29 23:40 +0100
  Re: Don't try this at home kids Jeremy Ardley <jeremy@ardley.org> - 2021-11-29 23:50 +0100
    Re: Don't try this at home kids Jude DaShiell <jdashiel@panix.com> - 2021-11-29 23:50 +0100
      Re: Don't try this at home kids David Wright <deblis@lionunicorn.co.uk> - 2021-11-30 05:50 +0100
        Re: Don't try this at home kids Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2021-11-30 07:00 +0100
          Re: Don't try this at home kids Paul Johnson <baloo@ursamundi.org> - 2021-11-30 18:20 +0100
            Re: Don't try this at home kids Greg Wooledge <greg@wooledge.org> - 2021-11-30 19:20 +0100
              Re: Don't try this at home kids David Wright <deblis@lionunicorn.co.uk> - 2021-12-03 03:50 +0100
            Re: Don't try this at home kids Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2021-11-30 20:40 +0100
              Re: Don't try this at home kids Andrei POPESCU <andreimpopescu@gmail.com> - 2021-12-05 16:40 +0100
        Re: Don't try this at home kids Andrei POPESCU <andreimpopescu@gmail.com> - 2021-12-05 16:50 +0100
    Re: Don't try this at home kids Darac Marjal <mailinglist@darac.org.uk> - 2021-11-30 00:00 +0100
    Re: Don't try this at home kids "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2021-11-30 00:20 +0100
      Re: Don't try this at home kids Jeremy Ardley <jeremy@ardley.org> - 2021-11-30 00:30 +0100
      Re: Don't try this at home kids John Hasler <john@sugarbit.com> - 2021-11-30 01:10 +0100
      Re: Don't try this at home kids Bob Bernstein <poobah@ruptured-duck.com> - 2021-11-30 01:10 +0100
      Re: Don't try this at home kids Nicholas Geovanis <nickgeovanis@gmail.com> - 2021-11-30 01:30 +0100
        Re: Don't try this at home kids Tom Dial <tddial@comcast.net> - 2021-11-30 05:30 +0100
          Re: Don't try this at home kids Nicholas Geovanis <nickgeovanis@gmail.com> - 2021-12-03 05:50 +0100
  Re: Don't try this at home kids Igor Korot <ikorot01@gmail.com> - 2021-11-30 00:00 +0100
  Re: Don't try this at home kids Pierre-Elliott Bécue <peb@debian.org> - 2021-11-30 00:00 +0100

csiph-web