From owner-freebsd-questions Mon Jul 31 23:23:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 57AB137B86B for ; Mon, 31 Jul 2000 23:23:20 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id BAA19764; Tue, 1 Aug 2000 01:22:46 -0500 (CDT) (envelope-from dan) Date: Tue, 1 Aug 2000 01:22:46 -0500 From: Dan Nelson To: Rahul Siddharthan Cc: "Kevin S. Brackett" , questions@FreeBSD.ORG Subject: Re: NIS question Message-ID: <20000801012245.A19258@dan.emsphone.com> References: <20000801103900.A30866@physics.iisc.ernet.in> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.3.6i In-Reply-To: <20000801103900.A30866@physics.iisc.ernet.in>; from "Rahul Siddharthan" on Tue Aug 1 10:39:00 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Aug 01), Rahul Siddharthan said: > Kevin S. Brackett wrote: > > Hi, is it possible to use nis for auth, yet change the shell from > > client to client? an example of what i'm trying to do is: mail/pop > > have a /bin/emailonly shell or similar > > I don't follow. You seem to be talking about different users here, > rather than different clients. Different users can have different > shells anyway. He's saying he wants the shell on "pop.host.com" to be forced to /bin/emailonly. That's easy; just add an override to your NIS include line: +::::::/sbin/nologin You can even do neat things with groups, and have an "admin" group that's allowed to log into all machines, etc. The passwd(5) manpage actually has some nice examples on this. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message