From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653649621898.tru64-unix-managers.marc@archive.invalid> From: CLAUDINE BERTHOUD Date: Mon, 18 Jun 2001 06:50:29 +0000 To: tru64-unix-managers Subject: 2nd Summary : Update : V5.1 and eXcursion X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653649621898 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------_=_NextPart_001_01C0F7C2.F6A10E00" This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0F7C2.F6A10E00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thank you to=20 Corinne Haesaerts Marie-Th=E9r=E8se Jonnaert and Phillip Brown. Below is the interesting Phillip Brown's mail : =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D You're using C2 security? Try this: =20 Among the operations affected by the ENHANCED security mode are = Xterminal and PC Xserver login. By default, the local console is the only X = display enabled in ENHANCED security mode. So, you'll need to do the following: 1. Add the xdisplay terminal to terminal files /etc/auth/system/ttys: echo 'local\:0|local\:0.0:t_devname=3Dlocal\:0:t_xdisplay:t_login_timeout#0:c= hkent: ' |=20 /tcb/bin/edauth -s -dt 2 Add xdisplay type to /etc/auth/system/devassign: echo 'local\:0|local\:0.0:v_devs=3Dlocal\:0,local\:0.0:v_type=3Dxdisplay:chke= nt:' |=20 /tcb/bin/edauth -s -dv Notes: The -d option specifies the database: The -dt creates info in /etc/auth/system/ttys.db The -dv creates info in /ext/auth/system/devassign t_login_timeout: This field specifies the login time-out value in seconds. If a login = attempt is initiated by entering a user name at the login prompt but successful authentication is not completed within the time-out interval specified, = the login attempt is aborted. t_xdisplay: This field indicates that the entry is an X window display managed by = xdm, rather than a terminal device. You can check your work with edauth as = well:=20 # edauth -dt -g | grep xdisplay # edauth -dt -g | grep xdisplay. You can find the following in the Security Manual under "Creating and Modifying Secure Devices". (The manual details the wildcard way of = doing this.) Section 8.2 of the "Digital UNIX Security Manual" discusses the = procedure for editing the ttys and devassign databases and is included below. -------------------------------------------------------- 8.2 Updating Security Databases When you assign device defaults or device-specific parameters, the = system updates the following security databases: The system defaults database, /etc/auth/system/default, contains the default values (for example, = default control parameters) for all system devices. The device assignment database, /etc/auth/system/devassign, contains device-specific values for system devices. The terminal control = database, /etc/auth/system/ttys.db, contains device-specific values for = authentication (for example, the number of failed login attempts). Each device to be used in your secure configuration must have an entry = in the device assignment database. This database centralizes information = about the security characteristics of all system devices. It includes the = device pathname and type. By default a wildcard entry exists for terminals = (but not X displays) in the /etc/auth/system/ttys.db and = /etc/auth/system/devassign databases. The X display entries shipped on the system have :t_login_timeout#0: = entries in them, in case a site changes its system default login timeout. If wildcard X display entries are needed, they can be created with the two commands that follow: # echo \ '*\:*:t_devname=3D*\:*:t_login_timeout#0:t_xdisplay:chkent:' \ | /tcb/bin/edauth -s -dt The above command will send the quoted string to the edauth utility. = The -s on the edauth command will cause the existing entry to be overwritten, = and the -dt will apply the changes to the ttys database. The backslash (\) = at the end of the line is a continuation. The backslash within the quoted string says to pass the next character as is without conversion. # echo '*\:*:v_type=3Dxdisplay:chkent:' | /tcb/bin/edauth -s -dv The above command will send the quoted string to the edauth utility. = The -s will cause the existing entry to be overwritten, and the -dv will apply = the changes to the devassign database. NOTE: The online and hardcopy versions of this document contain a = typographical error (an extra backslash after the text ":chkent:"). The error has = been removed from this article. ----------------------------- end of document = -------------------------- If you wish, you can substitute specific Xterminal or PC Xserver node = names for the wildcards noted above. For example, say you have an xterminal registered on the network as node 'foo'. To add this node to your = databases, take the examples above and substitute the name of the xterminal for = the astericks as follows: # echo \ 'foo\:0:t_devname=3Dfoo\:0:t_login_timeout#0:t_xdisplay:chkent:' \ | /tcb/bin/edauth -s -dt # echo 'foo\:0:v_type=3Dxdisplay:chkent:' | /tcb/bin/edauth -s -dv In the event of continuing problems starting X window logins after = following the above steps, the following troubleshooting technique may be used: Check the entries in /etc/auth/system/devassign.db and ttys.db using /tcb/bin/edauth -g -dt and -g -dv (man 8 edauth) to be sure that they exactly match the entry in the /var/adm/sialog. If the file = /var/adm/sialog does not exist then create it by doing the following: - Login as root - Type 'touch /var/adm/sialog' - Type 'chmod 664 /var/adm/sialog' - Try to login again and the file will contain the computed display = name. The computed display name, in this case 'foo', must be an exact match = with the entries in the /etc/auth/system/ttys.db and /etc/auth/system/devassign.db files (as shown by edauth). If it is not, modify the files with edauth and perform another test. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D My Orginal mail : Hello, =20 Since my alphaserver is in Tru64 UNIX V5.1, xdmcp from eXcursion cannot = see the machine. No problem with machines in Tru64 UNIX V4.0F =20 What should I do to be able to connect thru eXcursion XDMCP ? =20 Update : As I cannot do any rexec commande either, I think I have missed some configuration on this V5.1 alpha server. Does anyone knows ? =20 Claudine Berthoud=20 Proxis-Services=20 Z.I. du Bois de l'Epine=20 11, avenue Joliot Curie=20 BP 202=20 91007 Evry Cedex=20 Tel : 01 69 77 95 27=20 e-mail : cberthoud@proxis-services.fr=20 =20 ------_=_NextPart_001_01C0F7C2.F6A10E00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thank=20 you to
Corinne Haesaerts
Marie-Th=E9r=E8se = Jonnaert
 and
Phillip Brown.
Below=20 is the interesting Phillip Brown's mail :
 
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
You're=20 using C2 security?  Try this:
 

Among the operations = affected by the=20 ENHANCED security mode are Xterminal and PC Xserver login. By default, = the local=20 console is the only X display enabled in ENHANCED security mode. So, = you'll need=20 to do the following:

1. Add the xdisplay = terminal to=20 terminal files /etc/auth/system/ttys:

echo=20 'local\:0|local\:0.0:t_devname=3Dlocal\:0:t_xdisplay:t_login_timeout#0:c= hkent:' |=20

/tcb/bin/edauth -s = -dt

2 Add xdisplay type to=20 /etc/auth/system/devassign:

echo=20 'local\:0|local\:0.0:v_devs=3Dlocal\:0,local\:0.0:v_type=3Dxdisplay:chke= nt:' |=20

/tcb/bin/edauth -s = -dv

Notes: The -d option = specifies the=20 database:

   The -dt creates info in=20 /etc/auth/system/ttys.db

   The -dv creates info in=20 /ext/auth/system/devassign

t_login_timeout:

This field = specifies the login=20 time-out value in seconds. If a = login=20 attempt is initiated by entering a user name at the login prompt but successful authentication = is not=20 completed within the time-out = interval=20 specified, the login attempt is=20 aborted.

t_xdisplay:

This field = indicates that the=20 entry is an X window display = managed by=20 xdm, rather than a terminal device. = You=20 can check your work with edauth as well:

# edauth -dt -g | grep=20 xdisplay

# edauth -dt -g | grep=20 xdisplay.

You can find the = following in the=20 Security Manual under "Creating and Modifying Secure Devices". = (The manual details the wildcard = way of doing=20 this.)

Section 8.2 of the = "Digital UNIX=20 Security Manual" discusses the = procedure=20 for editing the ttys and devassign databases and is included below.

--------------------------------------------------------=

8.2 Updating Security=20 Databases

When you assign = device defaults=20 or device-specific parameters, the system=20 updates the following security databases:=20 The system defaults database, /etc/auth/system/default, contains = the default values (for example, default = control=20 parameters) for all system=20 devices.

The device = assignment database,=20 /etc/auth/system/devassign, contains=20 device-specific values for system devices.=20 The terminal control database, /etc/auth/system/ttys.db, = contains device-specific values for = authentication (for=20 example, the number of failed = login=20 attempts).

Each device to be = used in your=20 secure configuration must have an entry in=20 the device assignment database. This database centralizes = information about the security characteristics = of all=20 system devices. It includes the = device=20 pathname and type. By default a wildcard entry exists for terminals (but not X displays) in = the=20 /etc/auth/system/ttys.db and=20 /etc/auth/system/devassign databases.

The X display = entries shipped on=20 the system have :t_login_timeout#0:=20 entries in them, in case a site changes its system default = login timeout. If wildcard X display = entries are=20 needed, they can be created = with the two=20 commands that follow:

# echo \

'*\:*:t_devname=3D*\:*:t_login_timeout#0:t_xdisplay:chkent:' = \

| /tcb/bin/edauth -s = -dt

The above command = will send the=20 quoted string to the edauth utility. = The=20 -s on the edauth command will cause the existing entry to be overwritten, and the -dt will apply = the changes=20 to the ttys database. The = backslash (\) at=20 the end of the line is a continuation. The backslash within the quoted string says to = pass the next=20 character as is without=20 conversion.

# echo = '*\:*:v_type=3Dxdisplay:chkent:' |=20 /tcb/bin/edauth -s -dv

The above command = will send the=20 quoted string to the edauth utility. = The=20 -s will cause the existing entry to be overwritten, and the -dv = will apply the changes to the devassign=20 database.

NOTE:

The online and = hardcopy versions=20 of this document contain a = typographical=20 error (an extra backslash after the text ":chkent:"). The error has been removed from this = article.

----------------------------- end of=20 document --------------------------

If you wish, you can = substitute=20 specific Xterminal or PC Xserver node names=20 for the wildcards noted above. = For=20 example, say you have an xterminal registered on the network as node 'foo'. To add this node to your = databases,=20 take the examples above and = substitute the=20 name of the xterminal for the astericks as follows:

# echo \

'foo\:0:t_devname=3Dfoo\:0:t_login_timeout#0:t_xdisplay:chkent:= '=20 \

| /tcb/bin/edauth -s = -dt

# echo = 'foo\:0:v_type=3Dxdisplay:chkent:'=20 | /tcb/bin/edauth -s -dv

In the event of = continuing problems=20 starting X window logins after = following=20 the above steps, the following troubleshooting technique may be used:

Check the entries in=20 /etc/auth/system/devassign.db and ttys.db using=20 /tcb/bin/edauth -g -dt and -g -dv (man 8 edauth) to be sure that = they exactly match the entry in = the=20 /var/adm/sialog. If the file=20 /var/adm/sialog does not exist then create it by doing the following:

- Login as = root

- Type 'touch=20 /var/adm/sialog'

- Type 'chmod 664=20 /var/adm/sialog'

- Try to login again and = the file will=20 contain the computed display=20 name.

The computed display = name, in this case=20 'foo', must be an exact match = with the=20 entries in the /etc/auth/system/ttys.db and=20 /etc/auth/system/devassign.db files (as shown by edauth). If it = is=20 not, modify the files with = edauth and=20 perform another test.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
My=20  Orginal mail = :
Hello,
 
Since my=20 alphaserver is in Tru64 UNIX V5.1, xdmcp from eXcursion cannot see = the=20 machine.
No = problem with=20 machines in Tru64 UNIX V4.0F
 
What should I do=20 to be able to connect thru eXcursion XDMCP ?
 
Update :
As I cannot do any rexec commande either, I think I have missed some = configuration on this=20 V5.1 alpha server.
Does anyone = knows=20 ?
 
Claudine Berthoud
Proxis-Services
Z.I. du Bois de=20 l'Epine
11, avenue Joliot = Curie=20
BP 202
91007=20 Evry Cedex
Tel : 01 69 77 95 = 27=20
e-mail : = cberthoud@proxis-services.fr=20
 
------_=_NextPart_001_01C0F7C2.F6A10E00--