xoxys.sudo/index.md
Robert Kaussow 217b920036 commit 2852ded9b6
Author: Robert Kaussow <mail@thegeeklab.de>
Date:   Thu Mar 3 21:16:07 2022 +0100

    chore: add auto-generated _docs folder to gitignore file
2022-03-03 20:34:44 +00:00

1.9 KiB

title type
sudo docs

Source Code Build Status License: MIT

Configure sudoers environment.


Default Variables

sudo_aliases

Default value

sudo_aliases: []

Example usage

sudo_aliases:
  - name: os_admin
    user_aliases:
      - name: admins
        value:
          - my_admin
    cmnd_aliases:
      - name:
        value:
    specs:
      - ADMINS ALL= NOPASSWD:ALL

sudo_env_keep

Default value

sudo_env_keep:
  - COLORS
  - DISPLAY
  - HOSTNAME
  - HISTSIZE
  - INPUTRC
  - KDEDIR
  - LS_COLORS
  - MAIL
  - PS1
  - PS2
  - QTDIR
  - USERNAME
  - LANG
  - LC_ADDRESS
  - LC_CTYPE
  - LC_COLLATE
  - LC_IDENTIFICATION
  - LC_MEASUREMENT
  - LC_MESSAGES
  - LC_MONETARY
  - LC_NAME
  - LC_NUMERIC
  - LC_PAPER
  - LC_TELEPHONE
  - LC_TIME
  - LC_ALL
  - LANGUAGE
  - LINGUAS
  - _XKB_CHARSET
  - XAUTHORITY

sudo_misc_settings

Default value

sudo_misc_settings:
  - '!visiblepw'
  - always_set_home
  - env_reset

sudo_packages

Default value

sudo_packages:
  - sudo

sudo_secure_path

Default value

sudo_secure_path: /sbin:/bin:/usr/sbin:/usr/bin

Dependencies

None.