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


Groups > linux.debian.user > #238426

Re: percent char '%' in sudoers file

From john doe <johndoe65534@mail.com>
Newsgroups linux.debian.user
Subject Re: percent char '%' in sudoers file
Date 2021-08-10 15:50 +0200
Message-ID <CKAiK-5aN-9@gated-at.bofh.it> (permalink)
References <CKthf-12y-1@gated-at.bofh.it> <CKudk-1Bb-3@gated-at.bofh.it> <CKxXz-3SR-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 8/10/2021 1:11 PM, Greg Wooledge wrote:
> On Tue, Aug 10, 2021 at 09:13:22AM +0200, john doe wrote:
>> Fulling around is the best way to learn if you can take the time to fix
>> the issue(s) that your impulsivity has caused!!! :)
>
> (Fooling around.)  If you do choose to fool around with sudoers, please
> keep a root shell open at all times.  Don't cut yourself off from root
> by counting on being able to do "sudo nano /etc/sudoers" again, because
> you might have broken sudo.
>
> "sudo -s" gives you a shell as root.  Even if you never have to run a
> single command in that shell, having it there for emergency use is wise.
>

Obviously, fooling around should not be done on a production
server/something that you need to have stable.

As long as you are messing around with sudo, that might not be a bad
idea to configure 'su' as a fallback mechanism.

--
John Doe

Back to linux.debian.user | Previous | NextPrevious in thread | Next 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