Displaying 2 results from an estimated 2 matches for "sign_socket_context".
2019 Apr 16
4
Time Synchronisation - SELinux Labeling and Policy
hi, i want set selinux to usw with ntpd
but when i run (as described in wiki)
semanage -a -t ntpd_t "/usr/local/samba/var/lib/ntp_signd"
i have that error
"
usage: semanage [-h]
{import,export,login,user,port,ibpkey,ibendport,interface,module,node,fcontext,boolean,permissive,dontaudit}
...
semanage: error: argument subcommand: invalid choice:
2019 Apr 16
0
Time Synchronisation - SELinux Labeling and Policy
...',
> 'dontaudit')
> [root at dc ~]#
>
> "
>
> my sistem is a centos 7
>
>
I use chrony instead of ntpd on CentOS 7. This may help. Create the
following files.
You will need to check the SELinux context of the socket (ls -Z) and use
it instead of <sign_socket_context> on the files. I run a Samba
container and those are different contexts than your specific Samba AD
installation (compiled or 3rd party RPM)
Run make to build the SELinux module
Note: https://stopdisablingselinux.com/ :-)
You will need policycoreutils-python and checkpolicy in order to be a...