From owner-freebsd-questions Thu Aug 26 5: 0: 0 1999 Delivered-To: freebsd-questions@freebsd.org Received: from arutam.inch.com (ns.inch.com [207.240.140.101]) by hub.freebsd.org (Postfix) with ESMTP id C0E521503D for ; Thu, 26 Aug 1999 04:59:44 -0700 (PDT) (envelope-from freyes@inch.com) Received: from win98 (freyes.static.inch.com [207.240.212.43]) by arutam.inch.com (8.9.3/8.9.3/UTIL-INCH-2.0.0) with SMTP id HAA11346; Thu, 26 Aug 1999 07:59:12 -0400 (EDT) Message-Id: <199908261159.HAA11346@arutam.inch.com> From: "Francisco Reyes" To: "FreeBSD" , "Langa Kentane" Date: Thu, 26 Aug 1999 07:59:53 -0400 Reply-To: "Francisco Reyes" X-Mailer: PMMail 98 Professional (2.01.1600) For Windows 98 (4.10.1998) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: Disabling a user account Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 26 Aug 1999 11:17:50 +0200, Langa Kentane wrote: >I want to deny a certain user access to my server and the server is running >ftp, pop3 and stuff. How do I go about doing this without deleting the user >account? So what will this user still be able to access? Denying access to a user could be achieved by changing his/her shell to "/sbin/nologin". I also think there is a port which also logs the attemps. This approach will allow you to temporarily deny access and when you want to re-instate this user you can just change the shell back. If this user is coming from a statis IP address you could use a firewall rule to only allow them specific access to some services. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message