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


Groups > linux.debian.user > #238410

percent char '%' in sudoers file

From Bob Bernstein <poobah@ruptured-duck.com>
Newsgroups linux.debian.user
Subject percent char '%' in sudoers file
Date 2021-08-10 08:20 +0200
Message-ID <CKthf-12y-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


My copy (buster amd64) of lines 23-24 of /etc/sudoers looks like 
this:

23 # Allow members of group sudo to execute any comm$
24 % sudo  ALL=(ALL:ALL) ALL

Is that '%' a comment char? The line numbers shown were provided 
by nano. I know, I know, please keep reading.

Full disclosure: In a typical Bob fit of impulsivity I, yes, 
edited this file using 'sudo nsno /etc/sudoers'. How much damage 
have I done, what are the penalties for such behaviour, and will 
I get time off for good behaviour?

Alright, enough fooling around. I am a great fan of Dr. John E. 
Davis's (the author of jed) viewer app 'most.' I cannot seem to 
persuade mc to honor my env var VIEWER which asks for 'most.'

I am new to using sudo. All suggestions bearing even the 
slightest hint of civility will be thoughtfully considered.

Thank you.


-- 
...a society must incorporate the rationalizing
power symbolized by scientific knowledge, for
otherwise it will be a fatally split society-
split between a powerful elite and the
disenfranchised mass. To this we add now: an
irrational elite is the most dangerous of all.

Holton, Gerald. 1985. On the Integrity of
Science: The Issues Since Bronowski. Leonardo
18 (4), Special Issue: Jacob Bronowski: A
Retrospective (1985): 229-232.

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


Thread

percent char '%' in sudoers file Bob Bernstein <poobah@ruptured-duck.com> - 2021-08-10 08:20 +0200
  Re: percent char '%' in sudoers file <tomas@tuxteam.de> - 2021-08-10 09:00 +0200
    Re: percent char '%' in sudoers file David <bouncingcats@gmail.com> - 2021-08-10 09:10 +0200
    Re: percent char '%' in sudoers file Keith Bainbridge <keithrboz@gmail.com> - 2021-08-10 09:30 +0200
  Re: percent char '%' in sudoers file john doe <johndoe65534@mail.com> - 2021-08-10 09:20 +0200
    Re: percent char '%' in sudoers file Greg Wooledge <greg@wooledge.org> - 2021-08-10 13:20 +0200
      Re: percent char '%' in sudoers file Nicolas George <george@nsup.org> - 2021-08-10 13:20 +0200
      Re: percent char '%' in sudoers file <tomas@tuxteam.de> - 2021-08-10 13:20 +0200
      Re: percent char '%' in sudoers file john doe <johndoe65534@mail.com> - 2021-08-10 15:50 +0200
  Re: percent char '%' in sudoers file Anssi Saari <as@sci.fi> - 2021-08-10 10:50 +0200
  Re: percent char '%' in sudoers file Roger Price <debian@rogerprice.org> - 2021-08-10 11:30 +0200
    Re: percent char '%' in sudoers file Jonathan Dowland <jon+debian-user@dow.land> - 2021-08-10 12:00 +0200
    [OFFTOPIC] Editing a file (was: percent char '%' in sudoers file) Stefan Monnier <monnier@iro.umontreal.ca> - 2021-08-10 16:30 +0200
      Re: [OFFTOPIC] Editing a file (was: percent char '%' in sudoers  file) Roger Price <debian@rogerprice.org> - 2021-08-10 19:00 +0200
        Re: [OFFTOPIC] Editing a file (was: percent char '%' in sudoers  file) Bob Bernstein <poobah@ruptured-duck.com> - 2021-08-11 14:20 +0200
          Re: [OFFTOPIC] Editing a file (was: percent char '%' in sudoers file) Greg Wooledge <greg@wooledge.org> - 2021-08-11 14:30 +0200
  Re: percent char '%' in sudoers file mick crane <mick.crane@gmail.com> - 2021-08-10 17:40 +0200

csiph-web