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
@@ -439,3 +439,9 @@ os_mnt_var_tmp_enabled: false
os_mnt_var_tmp_src: ""
os_mnt_var_tmp_options: 'rw,nosuid,nodev,noexec'
os_mnt_var_tmp_filesystem: "ext4"
#
# .netrc User whitelist
# keep .netrc file for users in whitelist
os_netrc_enabled: true
os_netrc_whitelist_user: []