Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* DTLOGIN question
@ 2000-03-05  5:00 Evgeny Shumsky
  2000-03-05  5:00 ` Rev. Don Kool
  2000-03-05  5:00 ` Tom Leitner
  0 siblings, 2 replies; 3+ messages in thread
From: Evgeny Shumsky @ 2000-03-05  5:00 UTC (permalink / raw)


Hello,

I was wondering, how can let users choose to which computer to login .
We have 12 hosts each with his own console , but still I would prefare
to let them choose to login from each of them to each of them,
i know I should change DTlogin settings but dont know where to start .
We have Digitall 4.0D

Any help would really appriciated


-- 
 Evgeny Shumsky          evgeny@cfd.eng.tau.ac.il
"Mr.Worf, scan that ship" "Aye aye sir, 300 DPI ?"



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DTLOGIN question
  2000-03-05  5:00 DTLOGIN question Evgeny Shumsky
@ 2000-03-05  5:00 ` Rev. Don Kool
  2000-03-05  5:00 ` Tom Leitner
  1 sibling, 0 replies; 3+ messages in thread
From: Rev. Don Kool @ 2000-03-05  5:00 UTC (permalink / raw)




Evgeny Shumsky wrote:
> 
> Hello,
> 
> I was wondering, how can let users choose to which computer to login .
> We have 12 hosts each with his own console , but still I would prefare
> to let them choose to login from each of them to each of them,
> i know I should change DTlogin settings but dont know where to start .
> We have Digitall 4.0D

	You're not asking your question clearly enough.  Do you mean that
each machine is configured standalone with its own "/etc/passwd"
file and only certain users are in each machine's password file?  If
that is your problem all you have to do is start running NIS.  Make
one machine the master and put everyone's password file entry on
it.  Make another machine a slave NIS server so that you have some
redundancy.  Make all the rest clients.  Use "nissetup" to do it. 
The next step would be to move all the home accounts to a central
server and use the automounter to serve the files.  Then you can do
nightly backups on that one server.

			Hope this helps,
			      Don


--
**********************      You a bounty hunter?
* Rev. Don McDonald  *      Man's gotta earn a living.
* Baltimore, MD      *      Dying ain't much of a living, boy.
**********************             "Outlaw Josey Wales"
http://members.home.net/oldno7



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DTLOGIN question
  2000-03-05  5:00 DTLOGIN question Evgeny Shumsky
  2000-03-05  5:00 ` Rev. Don Kool
@ 2000-03-05  5:00 ` Tom Leitner
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Leitner @ 2000-03-05  5:00 UTC (permalink / raw)


Hi Evgeny,

In comp.unix.osf.osf1 Evgeny Shumsky <evgeny@cfd.eng.tau.ac.il> wrote:

> I was wondering, how can let users choose to which computer to login .
> We have 12 hosts each with his own console , but still I would prefare
> to let them choose to login from each of them to each of them,
> i know I should change DTlogin settings but dont know where to start .
> We have Digitall 4.0D

This is easy: Just let dlogin run on all machines *without* an X Server
and start the X server separatly with a chooser.

a.) To run dtlogin without an X server, copy the file /usr/dt/config/Xservers
    to /etc/dt/config (possibly creating the directory if it does not exist
    yet). comment out the X Server line in the file (it is most probably
    the last line in the file). Restart dtlogin with

              /sbin/init.d/xlogin stop
              /sbin/init.d/xlogin start

    Now, you don't have a local X server running but other's can 
    login to your machine via XDMCP.

b.) Start a local X server and request a chooser. This can be done via 
    several ways. I do it like this:

    - add the following line to /etc/inittab

            x3:3:respawn:/etc/xstart
	    
    - create a file called /etc/xstart with the following contents:

#!/bin/sh
#
# start the X server on the local console
#
fp="/usr/lib/X11/fonts/decwin/100dpi/,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fo
nts/misc/,/usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/font
s/Type1/,/usr/lib/X11/fonts/user/100dpi/,/usr/lib/X11/fonts/user/misc/,/usr/dt/c
onfig/xfonts/C/"
h=`/sbin/hostname -s`
#o="-bs -su -nice -6 -terminate"
o="-nice -6 -terminate"
r="-screen0 1280 -vsync 75"
c="-dpms -vclass TrueColor -depth 16"
#c="-dpms -vclass TrueColor -depth 24"
exec /usr/bin/X11/X $o -indirect $h $r $c -fp $fp < /dev/console > /dev/console 
2>&1
exit 0

     - note the "X -indirect localhost" does not work. This is why the
       h=.... statment is needed to get the local hostname.

     - the options can be used to tailor the X-server to the display 
       hardware of the local machine.

     - enter the commands:
     
             # chmod 700 /etc/xstart
             # kill -1 1

       and you'll get an X-Server agian, this time it shows a list of all
       available machines in the LAN and allows you to select one of them
       (also the local machine, of course) and log in.

Finally you need some sort of password management like NIS to have the
same usernames or passwords everywhere. I, for one, try to avoid NIS
and just copy the C2 security database over to the other machines.

Hope this helps // Tom
-- 
Dr. Tom Leitner             Dept. of Communications, Graz Univ. of Technology,
tom@radar.tu-graz.ac.at     Inffeldgasse 12, A-8010 Graz / Austria / Europe
PGP public key @ http://wiis.tu-graz.ac.at/people/tom.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-03-05  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-05  5:00 DTLOGIN question Evgeny Shumsky
2000-03-05  5:00 ` Rev. Don Kool
2000-03-05  5:00 ` Tom Leitner

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