Fixing sudo user not requested correctly.
This commit is contained in:
parent
b3581a0b8f
commit
f0d10b459c
2
roles/domain/files/polkit-1.txt
Normal file
2
roles/domain/files/polkit-1.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[Configuration]
|
||||||
|
AdminIdentities=unix-group:sudo;unix-group:admin;unix-group:domopers
|
@ -6,3 +6,6 @@
|
|||||||
|
|
||||||
- include: glib2.yml
|
- include: glib2.yml
|
||||||
tags: glib2
|
tags: glib2
|
||||||
|
|
||||||
|
- include: policykit-1.yml
|
||||||
|
tags: policykit
|
||||||
|
11
roles/domain/tasks/policykit-1.yml
Normal file
11
roles/domain/tasks/policykit-1.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user