/
Limiting root access in HP-UX CDE
Limiting root access in HP-UX CDE
PROBLEM DESCRIPTION
When using HP-UX CDE, would like to disable remote login as root user.
RESOLUTION
When using CDE in HP-UX, you cannot completely block remote login as root user. However, when the CDE session is running, we can edit /usr/dt/bin/Xsession with the following lines to limit remote login as root.
#!/usr/bin/ksh if [ "$USER" = "root" ] && ([ "$DISPLAY" != ":0" ] || [ "$DISPLAY" != "unix:0" ] || [ "$DISPLAY" !="UNIX_HOSTNAME:0" ]) then exit fi
Related content
XDMCP로 시작하기
XDMCP로 시작하기
More like this
Xmanager 소개
Xmanager 소개
More like this
RedHat Enterprise Linux 9.x(RHEL 9) XDMCP 설정
RedHat Enterprise Linux 9.x(RHEL 9) XDMCP 설정
More like this
고정 XDMCP 세션
고정 XDMCP 세션
More like this
자동 XDMCP 세션
자동 XDMCP 세션
More like this
Starting with XDMCP
Starting with XDMCP
More like this