-
Bug
-
Resolution: Unresolved
-
Normal
-
6.16.z
-
1
-
False
-
-
False
-
foreman-3.12.0.2-1
-
0
-
-
-
Automated
-
None
Description of problem:
Provision template doesn't assign right file permissions to /etc/sudoers.d/rexuser for non-root users making it unusable.
How reproducible:
Always
Is this issue a regression from an earlier version:
No
Steps to Reproduce:
1. Generate the curl registration command using `--setup-remote-execution true`
2. Register the Content Host using provided curl command
Actual behavior:
File permissions are invalid:
~~~
[root@pafernan-6158cli ~]# ls -l /etc/sudoers.d/
total 4
rw-r-r-. 1 root root 65 Sep 30 17:45 rexuser
~~~
Expected behavior:
File permissions are valid
~~~
[root@pafernan-6158cli ~]# ls -l /etc/sudoers.d/
total 4
r-r----. 1 root root 65 Sep 30 18:27 rexuser
~~~
Business Impact / Additional info:
Remote execution for non-root users doesn't work
- clones
-
SAT-28443 remote_execution_ssh_keys template does not set proper sudoers file permissions
- Release Pending
- links to