How do I allow xdm sessions at C2 security?


If you get the error 'Cannot obtain database information on this terminal',
Follow this advice from the Digital support people and change the
files /etc/auth/system/ttys, /etc/auth/system/devassign and /etc/securettys
as follows:

In the following, replace host, host.sub.domain and n.n.n.n by the
hostname, full domain name and IP address of the host(s) you are trying to
connect from.

Add lines like the following to /etc/auth/system/ttys :

host\:0:t_devname=host\:0:t_xdisplay:t_login_timeout#0:chkent:

Add lines like the following to /etc/auth/system/devassign :

host\:0:v_devs=host\:0,host.sub.domain:0,n.n.n.n:0:v_type=xdisplay:chkent:

Add lines like the following to /etc/securettys :

host:0
host.sub.domain:0

At V4 (and by then the operating system is not called OSF but dUNIX or
Tru64Unix), you can use wildcards for the X-terminal names and IP
addresses, and must use the edauth command to operate on the databases.
You could use the two commands:

echo '*:*:t_devname=*:*:t_login_timeout#0:t_xdisplay:chkent:' | /tcb/bin/edauth -s -dt

echo '*:*:v_type=xdisplay:chkent:' | /tcb/bin/edauth -s -dv

to allow any X-terminals to connect and log in via xdm.



UNIXguide.net
English to Visayan Cebuano Dictionary
Suggest a Site
Visayan Cebuano to English Dictionary