Author: Robert Kaussow <mail@geeklabor.de>
Date:   Wed Jan 22 23:24:47 2020 +0100

    force run
This commit is contained in:
Robert Kaussow 2020-01-22 22:42:51 +00:00
parent 6e1b7d87c2
commit d860847c09

112
index.md Normal file
View File

@ -0,0 +1,112 @@
---
title: sudo
type: docs
---
Configure sudoers environment
* [Default Variables](#default-variables)
* [sudo_aliases](#sudo-aliases)
* [sudo_env_keep](#sudo-env-keep)
* [sudo_misc_settings](#sudo-misc-settings)
* [sudo_packages](#sudo-packages)
* [sudo_secure_path](#sudo-secure-path)
* [Dependencies](#dependencies)
---
## Default Variables
### sudo_aliases
#### Default value
```YAML
sudo_aliases: []
```
#### Example usage
```YAML
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
```YAML
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
```YAML
sudo_misc_settings:
- '!visiblepw'
- always_set_home
- env_reset
```
### sudo_packages
#### Default value
```YAML
sudo_packages:
- sudo
```
### sudo_secure_path
#### Default value
```YAML
sudo_secure_path: /sbin:/bin:/usr/sbin:/usr/bin
```
## Dependencies
None.