Fixing sudo user not requested correctly.

This commit is contained in:
Emiliano Vavassori 2016-01-06 18:11:17 +01:00
parent b3581a0b8f
commit f0d10b459c
3 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,2 @@
[Configuration]
AdminIdentities=unix-group:sudo;unix-group:admin;unix-group:domopers

View File

@ -6,3 +6,6 @@
- include: glib2.yml
tags: glib2
- include: policykit-1.yml
tags: policykit

View File

@ -0,0 +1,11 @@
---
- name: Configuring sudo to accept users other than local admin
copy:
src: polkit-1.txt
dest: /etc/policykit-1/localauthority.conf.d/51-ubuntu-admin.conf
owner: root
group: root
mode: 0644
backup: yes
sudo: yes