mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-23 14:52:31 +00:00
fixed mariadb permission on Rocky 9
This commit is contained in:
parent
c60ea2121c
commit
ce129fdf6c
@ -115,9 +115,9 @@ set_mysql_server_tls () {
|
||||
#echo "tls_version=TLSv1.2,TLSv1.3" >> "$DB_SRV_CONF"
|
||||
#echo "require_secure_transport=ON" >> "$DB_SRV_CONF"
|
||||
|
||||
|
||||
# Make sure mysql can access them
|
||||
chown mysql:mysql $SSL_DB_SRV_CHAIN $SSL_DB_SRV_CERT $SSL_DB_SRV_KEY
|
||||
chmod 644 $DB_SRV_CONF $DB_CLIENT_CONF
|
||||
# Make selinux contexts for config files, if selinux is enabled
|
||||
if [[ $ID = "rhel" ]] || [[ $ID = "rocky" ]] ||[[ $ID = "fedora" ]]; then
|
||||
command -v selinuxenabled > /dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user