Skip to main content

Posts

Showing posts from July, 2017

update snmp engineID to human readable value

If.. for whatever reason... you need a human readable snmp engineID [root@zion snmp]# grep -i engin /etc/snmp/snmpd.conf exactEngineID "thisIsATest" engineIDType 3 [root@zion snmp]# systemctl restart snmpd [root@zion snmp]# grep -i engi /var/lib/net-snmp/snmpd.conf engineBoots 1 oldEngineID "thisIsATest"

GDM Autologin (revisited)

The following is the configuration for that. 1) install RHEL7.3 with minimum install 2) install gdm and dependencies 3) install motif, xterm, xorg-x11-fonts-*, xorg-x11-server-Xorg and xorg-x11-xinit-session 4) systemctl set-default graphical.target 5) create /root/.Xclients  (This is called from /etc/X11/xinit/xinitrc) ----------- #!/bin/sh xclock -geometry +0+0 & xterm -ls & exec /usr/bin/mwm -multiscreen ------------ 6) create /root/.xsession  (This is called from /usr/libexec/xinit-compat) ------------ #!/bin/sh exec /etc/X11/xinit/xinitrc ------------ 7) set exec permission to /root/.Xclients and ~/.xsession # chmod gu+x /root/.Xclients /root/.xsession 8) create /etc/sysconfig/desktop. This is to disable gnome and kde completely ------------ unset GSESSION unset STARTKDE ------------ 9) create /etc/gdm/custom.conf. This is to enable automatic login with root user. -------------- [daemon] AutomaticLogin=root AutomaticLoginEnable=...