Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* disable login on nis server
@ 2002-10-16 18:26 laredo
  2002-10-17 15:19 ` Ann Majeske
  0 siblings, 1 reply; 4+ messages in thread
From: laredo @ 2002-10-16 18:26 UTC (permalink / raw)


Hello,
i have a nis server, and  it has too many user accounts, my question is how
i can get that a nis user can not login in the nis server?
thank in advance.
Ces




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: disable login on nis server
  2002-10-16 18:26 disable login on nis server laredo
@ 2002-10-17 15:19 ` Ann Majeske
  2002-10-17 17:57   ` laredo
  0 siblings, 1 reply; 4+ messages in thread
From: Ann Majeske @ 2002-10-17 15:19 UTC (permalink / raw)


Hi Ces,

I don't understand your question.  Are you asking how you can set
up the NIS server to prevent logins or are you asking why users can't
login?  How do you know that the NIS server "has too many user accounts"?
How many accounts does it have?  How many users do you normally have 
logging in at one time?  What OS and version are you running
on the NIS server (and do you have any NIS slave servers?) and NIS clients?

Ann

laredo wrote:
> 
> Hello,
> i have a nis server, and  it has too many user accounts, my question is how
> i can get that a nis user can not login in the nis server?
> thank in advance.
> Ces


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: disable login on nis server
  2002-10-17 15:19 ` Ann Majeske
@ 2002-10-17 17:57   ` laredo
  2002-10-18  5:51     ` Adam Price
  0 siblings, 1 reply; 4+ messages in thread
From: laredo @ 2002-10-17 17:57 UTC (permalink / raw)


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

"Ann Majeske" <Ann.Majeske@hp.com> wrote in message
news:3DAED4F9.9F88CDD0@hp.com...
> Hi Ces,
>
> I don't understand your question.  Are you asking how you can set
> up the NIS server to prevent logins or are you asking why users can't
> login?  How do you know that the NIS server "has too many user accounts"?
> How many accounts does it have?  How many users do you normally have
> logging in at one time?  What OS and version are you running
> on the NIS server (and do you have any NIS slave servers?) and NIS
clients?
>
> Ann
>
> laredo wrote:
> >
> > Hello,
> > i have a nis server, and  it has too many user accounts, my question is
how
> > i can get that a nis user can not login in the nis server?
> > thank in advance.
> > Ces




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: disable login on nis server
  2002-10-17 17:57   ` laredo
@ 2002-10-18  5:51     ` Adam Price
  0 siblings, 0 replies; 4+ messages in thread
From: Adam Price @ 2002-10-18  5:51 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-18  5:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox