Home / Linux / Page 5

Category: Linux

IPA server failed to start due to change in file permissions

To resolve this issue, check the permissions of /var/log/dirsrv. The permissions should be the same as shown below. [root@server ~]# ls -laZd /var/log/dirsrv/ drwxr-xr-x. 3 root root system_u:object_r:dirsrv_var_log_t:s0 35 Jun 19 2021 /var/log/dirsrv/ Then check the permissions of /var/log/dirsrv/slapd-$domain, which should be similar as shown below. [root@server ~]# ls -laZd /var/log/dirsrv/slapd-domain/ drwxrwx---. 2 dirsrv dirsrv …

Read more

“/sys/devices/virtual/dmi/id/product_uuid” file permission changes

When the server is restarted, or a patch is installed, the permissions on the file /sys/devices/virtual/dmi/id/product uuid are permanently changed from 444 to 400.The permission 444 on /sys/devices/virtual/dmi/id/product uuid can be hard-coded by the following steps. First, check the corresponding uuid. # cat /sys/devices/virtual/dmi/id/product_uuid <should_output_your_uuid> <--This is the required product_uuid Set an udev rule by …

Read more

How to change default file permissions of /var/log/wtmp?

In CentOS 7.3, permissions of the /var/log/wtmp file is handled by /lib/tmpfiles.d/var.conf, which is executed after every reboot. To change default permissions, change permissions in the following script. # cat /lib/tmpfiles.d/var.conf | grep wtmp f /var/log/wtmp 0664 root utmp - In CentOS 7.0, 7.1, and 7.2, permissions for /var/log/wtmp is managed by file /lib/tmpfiles.d/systemd.conf, which …

Read more

How to disable GPU memory notification in CentOS

The notification is part of the housekeeping plugin. The procedures listed below can be used to disable the housekeeping plugin. # mkdir -p ~/.config/autostart# sed 's|[Desktop Entry]|&nHidden=true|' /etc/xdg/autostart/org.gnome.SettingsDaemon.Housekeeping.desktop > ~/.config/autostart/org.gnome.SettingsDaemon.Housekeeping.desktop You will receive the GPU memory notification messages when the server is utilizing high GPU resources. This is normal and the notifications can be disabled …

Read more