From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079034715425.tru64-unix-managers.marc@archive.invalid> From: "Monjar, Daniel" Date: Thu, 07 Jan 1999 15:35:44 +0000 To: tru64-unix-managers Subject: SUMMARY: stopping interactive logins X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079034715425 Thanks to: S. Khemmanivanh [somckit@u.washington.edu] John Speno [speno@isc.upenn.edu] Bryan Lavelle [Bryan.Lavelle@digital.com] David J. DeWolfe [sxdjd@java.sois.alaska.edu] Partin.Kevin [KPartin@hou.mdc.com] Glenda D. Monzon [gmonzon@dticam.dtic.mil] Mike Metelski [mmetelski@dttus.com] Simon.Millard@barclays.co.uk Martin Mokrejs [mmokrejs@natur.cuni.cz] Ryan Ziegler [Zieglerr@novachem.com] Robin Kundert [rkundert@spu.edu] Cy Schubert [cschuber@uumail.gov.bc.ca] A statement I made was wrong and was corrected almost immediately. /etc/nologin _doesn't_ stop root from logging in. The suggestions boiled down to three types succinctly summarized by Cy Shubert: --------------------------- Touch /etc/nologin before your backups, then delete the file when you are done. Any sessions that are already established will not be affected. Any new sessions, including those made by administrative staff, will be denied. Another alternative would be to alter /etc/profile or /etc/csh.system to log out specified users during a certain time period, giving you an automated approach for doing this. Finally, IIRC, C2 Security has the option to deny certain users login privileges during certain times of day. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Open Systems Group Internet: Cy.Schubert@uumail.gov.bc.ca ITSD Cy.Schubert@gems8.gov.bc.ca Province of BC ---------------------------- Thanks to all! Daniel Monjar Manager, Systems Organon Teknika Mailto:Daniel.Monjar@orgtek.com -----Original Message----- From: Monjar, Daniel [mailto:Monjar@orgtek.com] Sent: Tuesday, January 05, 1999 2:40 PM To: 'alpha-osf-managers@ornl.gov' Subject: stopping interactive logins Another "VMS can do it, can Unix?" type question... Under VMS I can limit interactive logins with a command (set login/inter=0). Commonly used when I want the system to myself, like during backups. One feature of this is that it prevents normal users from logging in but still allows members of the system group (based on group UIC) interactive logins. Can I do something similar under DEC Unix? I know of the function of /etc/nologin but that seems to stop root login as well. Daniel Monjar Manager, Systems Organon Teknika Mailto:Daniel.Monjar@orgtek.com