From: "Adam Price" <adam+usenet@pappnase.co.uk>
Subject: Re: disable login on nis server
Date: Fri, 18 Oct 2002 06:51:14 +0100 [thread overview]
Message-ID: <aoo7fv$oh2uj$1@ID-138239.news.dfncis.de> (raw)
In-Reply-To: aomtln$189$1@nsnmrro2-gest.nuria.telefonica-data.net
In news:aomtln$189$1@nsnmrro2-gest.nuria.telefonica-data.net
,laredo <cesar_bravo@eresmas.com> said:
> Hello
> i have a nis server, a slave server, and 15 nis client, with around 40
> users. Users can validate (login with a telnet session p.e) in nis
> client and in nis server (username and password is the same), and i
> want that users only login in nis client, not in nis server or slave
> server. p.e nis server ->A
> nis slave ->B
> nis client ->C
> nis user -> john
>
> User john can login in all client and in the nis server and in the nis
> slave, and i only want that users only login in nis client.
> thanks
> Cesar
>
Please don't top post.
According to this table from the security manual you should be able to
override the NIS setting on an individual machine.
Table 9-1: Controlling NIS with Local /etc/passwd Overrides
Symbol Description
+: If a user is not found in the local file, authenticate
using the NIS file.
+username Local file field overrides NIS. Used for partial distribution.
-username User is excluded from all matches by local control.
+@netgr: List of users to authenticate using the local file. See the
netgroup(4) reference page.
-@netgr: List of users to refuse using the NIS file. See the netgroup(4)
reference page.
+:*: Sends all password requests to the NIS map.
Or you could simply touch /etc/nologin on the master and slave, then only
root will be able to login.
Lastly, have you tried removing the +: from the password file on the master
and the slave.
Then they shouldn't use NIS for authentication but should still serve NIS.
Hth
Adam
prev parent reply other threads:[~2002-10-18 5:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-16 18:26 disable login on nis server laredo
2002-10-17 15:19 ` Ann Majeske
2002-10-17 17:57 ` laredo
2002-10-18 5:51 ` Adam Price [this message]
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