Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.14.7
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
21 results

ipasudorule.py

  • Thomas Woerner's avatar
    8561e0bb
    sudorule: Reduce addition and deletion of members to changed only · 8561e0bb
    Thomas Woerner authored
    Use gen_add_list and gen_intersection_list for host, hostgroup, user,
    group, allow_sudocmd, allow_sudocmdgroup, deny_sudocmd, deny_sudocmdgroup,
    sudooption, runasuser, runasgroup and res_find member handling.
    
    The functions are used to reduce the add lists to the new entries
    only and the delete lists to the entries that are in the user and
    the show list result.
    
    This enables to remove the ignores for "already a member" and
    "not a member" errors..
    8561e0bb
    History
    sudorule: Reduce addition and deletion of members to changed only
    Thomas Woerner authored
    Use gen_add_list and gen_intersection_list for host, hostgroup, user,
    group, allow_sudocmd, allow_sudocmdgroup, deny_sudocmd, deny_sudocmdgroup,
    sudooption, runasuser, runasgroup and res_find member handling.
    
    The functions are used to reduce the add lists to the new entries
    only and the delete lists to the entries that are in the user and
    the show list result.
    
    This enables to remove the ignores for "already a member" and
    "not a member" errors..