Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2000 01:22:46 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Rahul Siddharthan <rsidd@physics.iisc.ernet.in>
Cc:        "Kevin S. Brackett" <ksb@abyss.net>, questions@FreeBSD.ORG
Subject:   Re: NIS question
Message-ID:  <20000801012245.A19258@dan.emsphone.com>
In-Reply-To: <20000801103900.A30866@physics.iisc.ernet.in>; from "Rahul Siddharthan" on Tue Aug  1 10:39:00 GMT 2000
References:  <Pine.WNT.4.21.0008010052420.-417761@nightmare.abyss.net> <20000801103900.A30866@physics.iisc.ernet.in>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000801012245.A19258>