tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Simon Greaves <Simon.Greaves () usp ! ac ! fj>
To: tru64-unix-managers
Subject: Wildcarding C2 ttys/devassign entries
Date: Fri, 19 Mar 1999 04:38:51 +0000	[thread overview]
Message-ID: <96079038515786.tru64-unix-managers.marc@archive.invalid> (raw)

I have a number of PC's with eXcursion X server software. I have been
asked to provide XDMCP access to our [DT]U servers. From the archive I
picked up an article describing how to create wildcard
/etc/auth/system/ttys and /etc/auth/system/devassign entries. Which
works ok, but since that matches against any host, what I really wanted
to do was to widcard given subnets. 

The following works:

        /tcb/bin/edauth -dt -s <<-\X
        *\:*:\
                :t_devname=*\:*:t_lock@:t_login_timeout#0:t_xdisplay:\
                :chkent:
        X
        /tcb/bin/edauth -dv -s <<-\X
        *\:*:\
                :v_devs=*\:*:v_type=xdisplay:chkent:
        X

Leaving the devassign entry as it is, I tried to use a more restrictive
ttys wildcard:

        /tcb/bin/edauth -dt -s <<-\X
        nnn.mmm.*\:*:\
              :t_devname=nnn.mmm.*\:*:t_lock@:t_login_timeout#0:\
	      :t_xdisplay:chkent:
        X

which edauth seems to accept, but then I get the notorious "Cannot
obtain database info" dialog.

I also tried:

        /tcb/bin/edauth -dt -s <<-\X
        nnn.mmm.*\:*:\
              :t_devname=*\:*:t_lock@:t_login_timeout#0:\
	      :t_xdisplay:chkent:
        X

Which edauth rejected.

I tried using Xaccess to restrict the hosts that could get a chooser,
but this only seems to work on hostnames and the PC's are not DNS
registered. I think it would be impractical to manage a hostname/IP
address list.

Any suggestions? (Am I being overly paranoid?), thanks,

Simon
-- 
Simon Greaves                           voice: (+679) 212114
Computer Centre                         fax:   (+679) 304089
The University of the South Pacific     email: Simon.Greaves@usp.ac.fj
Suva, Fiji

                 reply	other threads:[~1999-03-19  4:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox