From owner-freebsd-questions Thu Dec 17 21:49:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA21504 for freebsd-questions-outgoing; Thu, 17 Dec 1998 21:49:44 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from smtp3.erols.com (smtp3.erols.com [207.172.3.236]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA21492 for ; Thu, 17 Dec 1998 21:49:39 -0800 (PST) (envelope-from graeme@echidna.com) Received: from win95.echidna.com (inet.erols.com [209.122.117.150]) by smtp3.erols.com (8.8.8/8.8.5) with SMTP id AAA25584; Fri, 18 Dec 1998 00:49:25 -0500 (EST) Message-ID: <3679ED2A.746B@echidna.com> Date: Fri, 18 Dec 1998 00:50:34 -0500 From: Graeme Tait Organization: Echidna X-Mailer: Mozilla 2.02 (Win95; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG CC: Graeme@echidna.com Subject: Preventing/terminating remote logins Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG For certain administrative tasks, I need to be able to ensure I'm the only user on a remote system - that is, I need to boot existing users (telnet and ftp) off, and prevent new logins. I know I can make a /etc/nologin file, but then if I lose my connection, I'm dead. Is there a safe way to block logins other than my own? Also, what is the right way to forcibly remove existing users, should they not voluntarily go away? Should I just kill all their processes? -- Graeme Tait - Echidna To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message