From owner-freebsd-alpha Mon Jan 31 10:31:58 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id A669814F0E for ; Mon, 31 Jan 2000 10:31:52 -0800 (PST) (envelope-from chuckr@picnic.mat.net) Received: from localhost (chuckr@localhost [127.0.0.1]) by picnic.mat.net (8.9.3/8.9.3) with ESMTP id NAA33521; Mon, 31 Jan 2000 13:31:36 -0500 (EST) (envelope-from chuckr@picnic.mat.net) Date: Mon, 31 Jan 2000 13:31:36 -0500 (EST) From: Chuck Robey To: Tom Cc: Tony Byrne , FreeBSD-alpha mailing list Subject: Re: unable to create login-less user In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 31 Jan 2000, Tom wrote: > > I'm not familiar with using "NP" in the password field of the > > master.password file to prevent logins, but "*" should come close to > > doing the same job. Also it might be an idea to set the shell of such > > accounts to "/sbin/nologin". > > * is probably better as its more universally recognized as a bogus > charachter in a password file. > > /usr/bin/yes is a much better null shell :) Why? Nologin was created especially for this situation, I wonder why you think yes is better? Nologin is doc'ed in the login(1) man page, too. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-alpha" in the body of the message > ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@picnic.mat.net | electronics, communications, and signal processing. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary. ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message