add option to bypass .netrc check function (#563)

add option to whitelist specific user that need a .netrc file in there home dirs
add test for .netrc files if option os_netrc_enabled is false

Signed-off-by: Philipp Funk <[email protected]>

Signed-off-by: Philipp Funk <[email protected]>
Co-authored-by: Philipp Funk <[email protected]>
This commit is contained in:
PhilippFunkandPhilipp Funk authored and GitHub committed 2022-08-17 09:09:00 +02:00
1 parent 6aa01f040a
commit fd3fc1cfba
11 files changed
+67 -6

No files matched your search

+6
View File
@@ -422,6 +422,12 @@ We know that this is the case on Raspberry Pi.
- `os_mnt_var_tmp_filesystem`
- Default: `ext4`
- Description: Configure file system for fstab entry /var/tmp
- `os_netrc_enabled`
- Default: `True`
- Description: Configure filesystem for existence of .netrc file in homedir
- `os_netrc_whitelist_user`
- Default: ``
- Description: Add list of user to allow creation of .netrc in users homedir
## Packages