From: "Jeff Wilson" <jwilson@ic.ac.uk>
Subject: Re: NIS and passwd access restriction
Date: Wed, 1 Aug 2001 11:33:39 +0100 [thread overview]
Message-ID: <9k8lu4$j5b$1@jura.cc.ic.ac.uk> (raw)
In-Reply-To: 3B66EAA0.26EDFD77@Compaq.com
You can make the response a little more user friendly, with the positive
method and a message file. In the /etc/passwd file add a line for each user
allowed logon access, "+username:", and add a line like
"+::::::/usr/local/etc/message" pointing to a text file which just echos a
nice message.
--
Jeff Wilson
"Ann Majeske" <Ann.Majeske@Compaq.com> wrote in message
news:3B66EAA0.26EDFD77@Compaq.com...
| Jerome Bellet wrote:
| >
| > I have an NIS server and several clients sharing the same domain.
| > On a few clients I'd like to forbid access to some users (whose entries
are
| > in the passwd map).
| >
| > Unfortunately NIS does not support herarchical domains (contrary to
NIS+).
| >
| > Does anybody have any suggestion ?
| >
| > TIA, Jerome
|
| In the local /etc/passwd file put an entry
| -username
| to restrict that user from logging in to the
| local system. This is documented in the
| Security guide. I found it in the V4.0
| Security guide in
| "Table 9-1: NIS passwd File Overrides"
| This moved around in subsequent versions
| of the Security guide, but it's still there
|
| Ann
next prev parent reply other threads:[~2001-08-01 10:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-30 10:11 NIS and passwd access restriction Jerome Bellet
2001-07-31 17:28 ` Ann Majeske
2001-08-01 10:33 ` Jeff Wilson [this message]
2001-08-02 10:23 ` Jack Patteeuw
2001-08-09 12:50 ` Jerome Bellet
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox