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


Groups > linux.debian.user > #160620

Re: sudo does not respond to settings in /etc/sudoers

From Ken Heard <kenslists@teksavvy.com>
Newsgroups linux.debian.user
Subject Re: sudo does not respond to settings in /etc/sudoers
Date 2015-11-16 08:00 +0100
Message-ID <qvlVE-3Sn-19@gated-at.bofh.it> (permalink)
References (1 earlier) <quK9H-5bz-1@gated-at.bofh.it> <quNKi-7vX-7@gated-at.bofh.it> <quPj4-8s-5@gated-at.bofh.it> <qv7IZ-3fg-7@gated-at.bofh.it> <qv8lI-3Ig-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2015-11-15 23:26, Teemu Likonen wrote:

> Maybe you added the user to the "undo" group

Surely you mean the "sudo" group?

> but forgot to test it with a new login session. Group changes
> don't affect the current login session (unless newgrp is used).

My eureka moment! I forgot to logout and in again as my user before
testing the various options. I tested the two options to do what I
wanted to do as described in my original post, but not both on, or
open at the same time. I found that adding to the "user privilege
specification" section in the sudoers file the following line DOES work:

ken ALL=NOPASSWD: ALL

However, removing that line, and in the TDE User Manager (Kuser)
simply adding my user to the "sudo" group does NOT work. That option
DOES nevertheless work in my Jessie box. Strange.

Thanks guys for collectively putting me on the right track.

Ken




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlZJfKEACgkQlNlJzOkJmTfY6ACeOijk3QTayP+2rIpUJ0N9Zj2x
sSYAn01UPKZyBd6QAa1t0GbcT+9d7hF3
=hCiX
-----END PGP SIGNATURE-----

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


Thread

sudo does not respond to settings in /etc/sudoers Ken Heard <kenslists@teksavvy.com> - 2015-11-14 09:30 +0100
  Re: sudo does not respond to settings in /etc/sudoers Mario Castelán Castro  <marioxcc.MT@yandex.com> - 2015-11-14 15:40 +0100
    Re: sudo does not respond to settings in /etc/sudoers Ric Moore <wayward4now@gmail.com> - 2015-11-14 19:30 +0100
      Re: sudo does not respond to settings in /etc/sudoers Joe <joe@jretrading.com> - 2015-11-14 21:10 +0100
        Re: sudo does not respond to settings in /etc/sudoers Ric Moore <wayward4now@gmail.com> - 2015-11-15 16:50 +0100
          Re: sudo does not respond to settings in /etc/sudoers Joe <joe@jretrading.com> - 2015-11-15 17:20 +0100
            Re: sudo does not respond to settings in /etc/sudoers Ric Moore <wayward4now@gmail.com> - 2015-11-15 17:30 +0100
          Re: sudo does not respond to settings in /etc/sudoers Teemu Likonen <tlikonen@iki.fi> - 2015-11-15 17:30 +0100
            Re: sudo does not respond to settings in /etc/sudoers Ken Heard <kenslists@teksavvy.com> - 2015-11-16 08:00 +0100
              Re: sudo does not respond to settings in /etc/sudoers Andreas Henriksson <andreas@fatal.se> - 2015-11-16 13:10 +0100
                Re: sudo does not respond to settings in /etc/sudoers Ken Heard <kenslists@teksavvy.com> - 2015-11-16 15:40 +0100
              Re: sudo does not respond to settings in /etc/sudoers Teemu Likonen <tlikonen@iki.fi> - 2015-11-16 15:20 +0100
  Re: sudo does not respond to settings in /etc/sudoers Teemu Likonen <tlikonen@iki.fi> - 2015-11-14 21:30 +0100

csiph-web