Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: peter@abbnm.com (Peter da Silva)
Subject: Re: How to limit to console logins ?
Date: 1999/10/21	[thread overview]
Message-ID: <7unv0m$ds8@web.nmti.com> (raw)
In-Reply-To: 380C93EC.BD3E7853@cfd.eng.tau.ac.il

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1219 bytes --]

In article <380C93EC.BD3E7853@cfd.eng.tau.ac.il>,
Evgeny Shumsky  <evgeny@cfd.eng.tau.ac.il> wrote:
> I'l would like to know how to limit users logins to console only ?

Edit /etc/inetd.conf, and comment out (put a # in front of) the lines
for telnet, rsh, rlogin, rexec, etc:

#telnet  stream  tcp     nowait  root	/usr/sbin/telnetd       telnetd
#shell   stream  tcp     nowait  root	/usr/sbin/rshd		rshd
#login   stream  tcp     nowait  root	/usr/sbin/rlogind	rlogind
#exec    stream  tcp     nowait  root	/usr/sbin/rexecd        rexecd

Then signal inetd to reload its config file:

kill -HUP `/sbin/init.d/bin/getpid /usr/sbin/inetd -uroot`

Then edit /etc/inittab, and disable any serial port logins by turning
OFF any lines that run "getty" on a "tty" port:

t0:23:off:/usr/sbin/getty tty01 console vt100
      ^^^

And signal init:

kill -HUP 1

> My machine is faulty in some way, when users login from other machines
> it crashes, so I would 

And you need to fix that. Shouldn't happen.

-- 
In hoc signo hack, Peter da Silva <peter@baileynm.com>
 `-_-'   Ar rug t� barr�g ar do mhact�re inniu? 
  'U`    <pfy> Sigs with pfy's markov chain.
                         -- "pfy", a markov chain IRC bot.



      parent reply	other threads:[~1999-10-21  4:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-19  4:00 How to limit to console logins ? Evgeny Shumsky
1999-10-19  4:00 ` Marco Benton
1999-10-20  4:00 ` Jesper Frank Nemholt
1999-10-20  4:00   ` Jesper Frank Nemholt
1999-10-20  4:00   ` Evgeny Shumsky
1999-10-20  4:00     ` Adam Price
1999-10-20  4:00     ` Robert Koehler
1999-10-20  4:00     ` Jesper Frank Nemholt
1999-10-21  4:00     ` automatias
1999-10-21  4:00 ` Bob Kaplow
1999-10-21  4:00 ` Peter da Silva [this message]
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