* How to limit to console logins ?
@ 1999-10-19 4:00 Evgeny Shumsky
1999-10-19 4:00 ` Marco Benton
` (3 more replies)
0 siblings, 4 replies; 11+ messages in thread
From: Evgeny Shumsky @ 1999-10-19 4:00 UTC (permalink / raw)
Hello,
I'l would like to know how to limit users logins to console only ?
My machine is faulty in some way, when users login from other machines
it crashes, so I would
like to allow only logins from console
( Digital Unix 4.0d )
Thank you
--
Evgeny Shumsky evgeny@cfd.eng.tau.ac.il
"Mr.Worf, scan that ship" "Aye aye sir, 300 DPI ?"
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: How to limit to console logins ? 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 ` (2 subsequent siblings) 3 siblings, 0 replies; 11+ messages in thread From: Marco Benton @ 1999-10-19 4:00 UTC (permalink / raw) urrr... if the machine isnt working right shouldnt you fix it? i would just add a line to a boot up file that sayz: "touch /etc/nologin" this way no one can telnet to your machine... or just disable everything from inetd!? or fix it the Windows NT way: FORMAT C: /q /s ... reinstall... this is weird?! Evgeny Shumsky wrote: > > Hello, > > I'l would like to know how to limit users logins to console only ? > My machine is faulty in some way, when users login from other machines > it crashes, so I would > like to allow only logins from console > > ( Digital Unix 4.0d ) > > Thank you > > -- > Evgeny Shumsky evgeny@cfd.eng.tau.ac.il > "Mr.Worf, scan that ship" "Aye aye sir, 300 DPI ?" -- Marco Benton eXpert Systems Solutions http://www.xssnet.com "Da Original - Bastard Operator from Hell" luser /loo'zr/ n. A user; esp. one who is also a loser. ( luser and loser are pronounced identically.) ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How to limit to console logins ? 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-21 4:00 ` Peter da Silva 1999-10-21 4:00 ` Bob Kaplow 3 siblings, 2 replies; 11+ messages in thread From: Jesper Frank Nemholt @ 1999-10-20 4:00 UTC (permalink / raw) Evgeny Shumsky wrote: > > Hello, > > I'l would like to know how to limit users logins to console only ? > My machine is faulty in some way, when users login from other machines > it crashes, so I would > like to allow only logins from console > > ( Digital Unix 4.0d ) touch /etc/nologin will disallow anyone but root on the console. rm /etc/nologin will open it again l8r/Jspr ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How to limit to console logins ? 1999-10-20 4:00 ` Jesper Frank Nemholt @ 1999-10-20 4:00 ` Jesper Frank Nemholt 1999-10-20 4:00 ` Evgeny Shumsky 1 sibling, 0 replies; 11+ messages in thread From: Jesper Frank Nemholt @ 1999-10-20 4:00 UTC (permalink / raw) Jesper Frank Nemholt wrote: > > Evgeny Shumsky wrote: > > > > Hello, > > > > I'l would like to know how to limit users logins to console only ? > > My machine is faulty in some way, when users login from other machines > > it crashes, so I would > > like to allow only logins from console > > > > ( Digital Unix 4.0d ) > > touch /etc/nologin will disallow anyone but root on the console. > > rm /etc/nologin will open it again Oh, by the way : Does the whole machines crash, or is it just the user session that core dumps or something like that. The last thing is some strange combination of dunix < 4.0D patch 3, Kourne shell and "set -o emacs" combined with enduser terminals/machines that reports their TERM as something dunix doesn't understand. To make it even more fun, the problem is periodic. I've seen it on Red Hat 6.0 clients, and another one in our department even had the problem on a dunix client, but after upgrading to patch 3, the problem was gone. l8r/Jspr ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How to limit to console logins ? 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 ` Jesper Frank Nemholt ` (3 more replies) 1 sibling, 4 replies; 11+ messages in thread From: Evgeny Shumsky @ 1999-10-20 4:00 UTC (permalink / raw) Jesper Frank Nemholt wrote: > > Evgeny Shumsky wrote: > > > > Hello, > > > > I'l would like to know how to limit users logins to console only ? > > My machine is faulty in some way, when users login from other machines > > it crashes, so I would > > like to allow only logins from console > > > > ( Digital Unix 4.0d ) > > touch /etc/nologin will disallow anyone but root on the console. > > rm /etc/nologin will open it again > > l8r/Jspr the problem is that i want ALL users, to be able to login from console, not only root, is that possible ? -- Evgeny Shumsky evgeny@cfd.eng.tau.ac.il "Mr.Worf, scan that ship" "Aye aye sir, 300 DPI ?" ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How to limit to console logins ? 1999-10-20 4:00 ` Evgeny Shumsky @ 1999-10-20 4:00 ` Jesper Frank Nemholt 1999-10-20 4:00 ` Adam Price ` (2 subsequent siblings) 3 siblings, 0 replies; 11+ messages in thread From: Jesper Frank Nemholt @ 1999-10-20 4:00 UTC (permalink / raw) Evgeny Shumsky wrote: > > Jesper Frank Nemholt wrote: > > > > Evgeny Shumsky wrote: > > > > > > Hello, > > > > > > I'l would like to know how to limit users logins to console only ? > > > My machine is faulty in some way, when users login from other machines > > > it crashes, so I would > > > like to allow only logins from console > > > > > > ( Digital Unix 4.0d ) > > > > touch /etc/nologin will disallow anyone but root on the console. > > > > rm /etc/nologin will open it again > > > > l8r/Jspr > > the problem is that i want ALL users, to be able to login from console, > not only root, is that possible ? Comment out telnetd & others in /etc/inetd.conf and do a kill -HUP on inetd l8r/Jspr ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How to limit to console logins ? 1999-10-20 4:00 ` Evgeny Shumsky 1999-10-20 4:00 ` Jesper Frank Nemholt @ 1999-10-20 4:00 ` Adam Price 1999-10-20 4:00 ` Robert Koehler 1999-10-21 4:00 ` automatias 3 siblings, 0 replies; 11+ messages in thread From: Adam Price @ 1999-10-20 4:00 UTC (permalink / raw) Evgeny Shumsky wrote in message <380DBCDE.8C80A4FF@cfd.eng.tau.ac.il>... >Jesper Frank Nemholt wrote: >> >> Evgeny Shumsky wrote: >> > >> > Hello, >> > >> > I'l would like to know how to limit users logins to console only ? >> > My machine is faulty in some way, when users login from other machines >> > it crashes, so I would >> > like to allow only logins from console >> > >> > ( Digital Unix 4.0d ) >> >> touch /etc/nologin will disallow anyone but root on the console. >> >> rm /etc/nologin will open it again >> >> l8r/Jspr > > >the problem is that i want ALL users, to be able to login from console, >not only root, is that possible ? > > Stop running the demon that they use to log in with. Find the entries in /etc/inetd.conf for telnetd, rlogind etc. and comment them out. Kill -HUP the inetd and voila. Hope this helps Adam ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How to limit to console logins ? 1999-10-20 4:00 ` Evgeny Shumsky 1999-10-20 4:00 ` Jesper Frank Nemholt 1999-10-20 4:00 ` Adam Price @ 1999-10-20 4:00 ` Robert Koehler 1999-10-21 4:00 ` automatias 3 siblings, 0 replies; 11+ messages in thread From: Robert Koehler @ 1999-10-20 4:00 UTC (permalink / raw) Evgeny Shumsky (evgeny@cfd.eng.tau.ac.il) wrote: : the problem is that i want ALL users, to be able to login from console, : not only root, is that possible ? 1) disable the network (are you using it for anything else) 2) disable just telnet, rlogin, rsh Is this what you're looking for? The network is started somewhere in the /etc/rc files, and the network parts are configured in /etc/services. ------------------------------------------------------------------------------ Bob Koehler | Computer Sciences Corporation Hubble Space Telescope Payload | Federal Sector Flight Software Team | Civil Group ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How to limit to console logins ? 1999-10-20 4:00 ` Evgeny Shumsky ` (2 preceding siblings ...) 1999-10-20 4:00 ` Robert Koehler @ 1999-10-21 4:00 ` automatias 3 siblings, 0 replies; 11+ messages in thread From: automatias @ 1999-10-21 4:00 UTC (permalink / raw) On Wed, 20 Oct 1999 15:00:14 +0200, Evgeny Shumsky <evgeny@cfd.eng.tau.ac.il> wrote: >> Evgeny Shumsky wrote: >> > >> > Hello, >> > >> > I'l would like to know how to limit users logins to console only ? >> > My machine is faulty in some way, when users login from other machines >> > it crashes, so I would >> > like to allow only logins from console >the problem is that i want ALL users, to be able to login from console, >not only root, is that possible ? I agree: it is never a good idea to work as root for "normal" usage. So try this: 1. Set all gettys but console to "off" in /etc/inittab. 2. Make sure that none of the remote login daemons is started, or make them unavailable (telnetd, rlogind, etc.) You can use the TCP-Wrapper (which is avail. in the Public Domain, e.g. on a Linux-Distribution) to do "fine tuning". 3. You might also want to install the Enhanced Security package. Matthias Kring mkring@ matthias.kring@ netcologne.de ditec.de ---------------------------------------- keepyourspam@127.0.0.1 zur gfl. Beachtung: http://www.politik-digital.de/spam/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How to limit to console logins ? 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-21 4:00 ` Peter da Silva 1999-10-21 4:00 ` Bob Kaplow 3 siblings, 0 replies; 11+ messages in thread From: Peter da Silva @ 1999-10-21 4:00 UTC (permalink / raw) [-- 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. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How to limit to console logins ? 1999-10-19 4:00 How to limit to console logins ? Evgeny Shumsky ` (2 preceding siblings ...) 1999-10-21 4:00 ` Peter da Silva @ 1999-10-21 4:00 ` Bob Kaplow 3 siblings, 0 replies; 11+ messages in thread From: Bob Kaplow @ 1999-10-21 4:00 UTC (permalink / raw) In article <380C93EC.BD3E7853@cfd.eng.tau.ac.il>, Evgeny Shumsky <evgeny@cfd.eng.tau.ac.il> writes: > I'l would like to know how to limit users logins to console only ? > My machine is faulty in some way, when users login from other machines > it crashes, so I would > like to allow only logins from console > > ( Digital Unix 4.0d ) Unplug the network cable??? ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~1999-10-21 4:00 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 ` Jesper Frank Nemholt 1999-10-20 4:00 ` Adam Price 1999-10-20 4:00 ` Robert Koehler 1999-10-21 4:00 ` automatias 1999-10-21 4:00 ` Peter da Silva 1999-10-21 4:00 ` Bob Kaplow
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox