Project

General

Profile

Tâche #12609

Distribution EOLE - Scénario #13500: Assistance aux utilisateurs (42-44)

si active ajoute un fichier sudoers mais n'est pas supprimé à la désactivation

Added by Emmanuel GARETTE over 5 years ago. Updated over 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
08/24/2015
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:
Remaining (hours):
0.0

Description

Il faudrait rajouter un rm=True à la balise file :

        <file filelist="bacula" name='/etc/sudoers.d/bacula' source='bacula.sudoers' mode="0440"/>

Associated revisions

Revision bfacfc8d (diff)
Added by Joël Cuissinat over 5 years ago

Suppression des droits sudoers Bareos si il est désactivé

  • dicos/23_bareos.xml : ajout de rm='True' sur le template 'bacula.sudoers'

Ref: #12609 @1h

History

#1 Updated by Joël Cuissinat over 5 years ago

  • Project changed from eole-bacula to eole-bareos

#2 Updated by Joël Cuissinat over 5 years ago

  • Tracker changed from Anomalie to Tâche
  • Assigned To set to Joël Cuissinat
  • Estimated time set to 2.00 h
  • Parent task set to #13525
  • Remaining (hours) set to 2.0

#3 Updated by Joël Cuissinat over 5 years ago

  • Status changed from Nouveau to En cours

#4 Updated by Joël Cuissinat over 5 years ago

  • Parent task changed from #13525 to #13500

#5 Updated by Joël Cuissinat over 5 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 2.0 to 0.15

#6 Updated by Joël Cuissinat over 5 years ago

Trop tard pour la 2.5.1, j'ai donc commité dans master et compilé en eole-2.5-unstable pour 2.5.2 et supérieur (eole-bareos 2.5.2-1)

#7 Updated by Scrum Master over 5 years ago

  • Status changed from En cours to Résolu

#8 Updated by Lionel Morin over 5 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.15 to 0.0

OK :

root@amonecole:/etc/sudoers.d# ll
total 28
drwxr-xr-x   2 root root  4096 oct.  30 10:28 ./
drwxr-xr-x 122 root root 12288 oct.  30 10:33 ../
-r--r-----   1 root root   582 oct.  30 10:14 amon
-r--r-----   1 root root   117 oct.  30 10:14 bareos
-r--r-----   1 root root   958 août  27 21:26 README
root@amonecole:/etc/sudoers.d# CreoleSet activer_bareos_dir non
root@amonecole:/etc/sudoers.d# reconfigure
...
root@amonecole:/etc/sudoers.d# ll
total 24
drwxr-xr-x   2 root root  4096 oct.  30 10:14 ./
drwxr-xr-x 122 root root 12288 oct.  30 10:18 ../
-r--r-----   1 root root   582 oct.  30 10:28 amon
-r--r-----   1 root root   958 août  27 21:26 README

Also available in: Atom PDF