Month: August 2014
-
Systemctl for nfs: Failed to issue method call: No such file or directory
systemctl enable nfs Failed to issue method call: No such file or directory Solution: use nfs-server .
-
Generate crypted salted password (for kickstart / shadow file)
python -c ‘import crypt; print(crypt.crypt(“Karlo”, “$6$SaltHere”))’ If your output ends with a dot, copy that as well.
-
Fix Timeout in locking authority file */.Xauthority
When logging in (via SSH) to one of my systems, it said: timeout in locking authority file */.Xauthority When this happens: Make sure the users’ home dir is readable + writeable by the user Make sure the SELinux context is set correctly; this is usually a problem when the users’ home dir is mounted on…
-
Sestatus selinux config not read on RHEL/CentOS
If you want to change the selinux config, be aware that there are two files: /etc/selinux/config /etc/sysconfig/selinux The second one should be a symlink to the first one but I found out that this is not always the case.