From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: f678f,de7b56994371b6a3 X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,de7b56994371b6a3 X-Google-Attributes: gidfee84,public From: peter@abbnm.com (Peter da Silva) Subject: Re: How to limit to console logins ? Date: 1999/10/21 Message-ID: <7unv0m$ds8@web.nmti.com>#1/1 X-Deja-AN: 539007723 References: <380C93EC.BD3E7853@cfd.eng.tau.ac.il> Organization: Network/development platform support, NMTI Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 In article <380C93EC.BD3E7853@cfd.eng.tau.ac.il>, Evgeny Shumsky 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 `-_-' Ar rug t� barr�g ar do mhact�re inniu? 'U` Sigs with pfy's markov chain. -- "pfy", a markov chain IRC bot.