Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "6.20 How can I get VUE to share colormap entries:"
Next document is "6.22 id/groups doesn't show secondary groups in dtterm/CDE"
6.21 How can I disallow root login at the console with VUE?
Configure your /usr/vue/config/Xstartup as something like this :
if [ -f /etc/securetty ] &&
# pwget is an HP command which checks also for Yellow Pages.
# exit code from awk is inverted (!) since sh's tests are...
# === a more simple test would be [ "$USER" = root ] ===
pwget -n "$USER" | awk -F: '{ exit !($3 == 0) }'; then
echo Root Login not allowed | /usr/lib/X11/ignition/text_dialog ERROR
exit 1
fi
if [ -f /etc/nologin ]; then
exit 1
fi
exit 0
See man vuelogin(1X) for more details.
(Thanks to Cyrille Lefevre <Cyrille.Lefevre@ici.der.edf.fr>)
Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "6.20 How can I get VUE to share colormap entries:"
Next document is "6.22 id/groups doesn't show secondary groups in dtterm/CDE"