Month: September 2016

  • Offending DSA key /var/lib/sss/pubconf/known_hosts

    Offending DSA key /var/lib/sss/pubconf/known_hosts if you use rhel idm/ipa, remove ssh keys from that server

  • RHEL/Fedora auto apply updates (dnf/yum)

    [root@zotac3 ~]# dnf -y install dnf-automatic Last metadata expiration check: 2:07:13 ago on Tue Sep 27 06:13:59 2016. Dependencies resolved. =============================================================================================================================================================================================================================================================================================================================== Package Arch Version Repository Size =============================================================================================================================================================================================================================================================================================================================== Installing: dnf-automatic noarch 1.1.10-1.fc24 updates 90 k Transaction Summary =============================================================================================================================================================================================================================================================================================================================== Install 1 Package Total download size: 90 k Installed size: 35 k Downloading Packages: dnf-automatic-1.1.10-1.fc24.noarch.rpm 18 kB/s |…

  • RHEL7 systemctl systemd list shutdown jobs (pending)

    Sometimes you want to list the jobs you scheduled (reboots) for a Red Hat Enterprise Linux 7 server. This is how you can list the shutdowns: root@tasus:~# shutdown -r 19:02 “This system will reboot at 19:02 for updates” Shutdown scheduled for Tue 2016-09-20 19:02:00 CEST, use ‘shutdown -c’ to cancel. root@tasus:~# systemctl status systemd-shutdownd.service ●…

  • Restart UDEV (/sbin/udevd-d) on RHEL7

    Use /sbin/start_udev . This will restart. Useful in a situation where you updated some libs and need to restart udev, since udev has no init/systemctl restart script.

  • Get ip info on command line

    curl ipinfo.io or curl karloluiten.nl/ip/