From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,de7b56994371b6a3 X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,de7b56994371b6a3 X-Google-Attributes: gidfee84,public From: "Adam Price" Subject: Re: How to limit to console logins ? Date: 1999/10/20 Message-ID: <940442535.12222.0.nnrp-10.c2deb51d@news.demon.co.uk>#1/1 X-Deja-AN: 538506086 X-NNTP-Posting-Host: pappnase.demon.co.uk:194.222.181.29 References: <380C93EC.BD3E7853@cfd.eng.tau.ac.il> <380CFEB9.D3D65D73@dassic.com> <380DBCDE.8C80A4FF@cfd.eng.tau.ac.il> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 940442535 nnrp-10:12222 NO-IDENT pappnase.demon.co.uk:194.222.181.29 Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 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