From owner-freebsd-questions Mon Feb 4 11:34:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from indigo.quadrant.net (indigo.quadrant.net [207.195.92.9]) by hub.freebsd.org (Postfix) with ESMTP id 492EC37B428 for ; Mon, 4 Feb 2002 11:34:51 -0800 (PST) Received: from git2000 (gw.gerhardt-it.com [204.83.38.103]) by indigo.quadrant.net (8.9.1/8.9.1) with SMTP id NAA09425 for ; Mon, 4 Feb 2002 13:34:50 -0600 (CST) From: "Scott Gerhardt" To: "FreeBSD" Subject: Shells Question Date: Mon, 4 Feb 2002 13:35:09 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG To disallow shell accounts for ftp and pop users etc., Is it better to use /sbin/nologin or /nonexistent for a shell entry in /etc/passwd? "/nonexistent" does not exist "/sbin/nologin" exists and actually fires up a shell and returns something. FTP users must have a valid shell but this can be set to anything in /etc/shells. Can't seem to find a definitive answer to this. Thanks, _________________________________ Scott Gerhardt, P.Geo. Gerhardt Information Technologies To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message