Re: Passwordless sudo - is it possible?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



To get NOPASSWD behavior when using ldap to distribute your sudo records, you need to add a sudo options attribute to the sudo rule in ldap to negate the default authentication requirement.

From http://www.sudo.ws/man/1.8.13/sudoers.man.html

authenticate:

If set, users must authenticate themselves via a password (or other means of authentication) before they may run commands. This default may be overridden via the PASSWD and NOPASSWD tags. This flag is on by default.

To negate it, place a '!' in front of it as the value to a sudo options attribute in ldap.

On Mon, Nov 2, 2015 at 7:02 AM, Todor Petkov <zakk@xxxxxxxxx> wrote:
On 02/11/2015 10:20 AM, Todor Petkov wrote:


Hello,

my bad, I meant that I have added the line in sudoers, but it was not working.

However, I have added the user as "uniquemember" of the group, not
just "gidNumber" and it's OK now.

Thanks.


Hi,

small update:

when the group is with NOPASSWD:ALL, it's not working.
If the user has specific record, it's OK.

I can change the sudoers record with pssh, but if someone can give a hint how to make the group record working, I will appreciate it.

Regards,



--

Alan Willis
Core Infrastructure | Riot Games

For, to speak out once for all, man only plays when in the full meaning of the word he is a man, and he is only completely a man when he plays. - J.C. Friedrich von Schiller - Letters upon the Æsthetic Education of Man

--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux