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
> 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
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
> 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
> > 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
Please don't top post.Quote:> 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
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.
netgroup(4) reference page.
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
1. disable login accounts to nis server
How to I disable login accounts to NIS server, but allow those accounts to
login to NIS clients. Thanks.
3. How to disable or change NIS server
4. Floppy Error with Slackware 2
5. differences between nis servers and nis+ servers?
7. NIS : auth problem with Linux nis server and SUN sparc nis client
8. Startup-files in heterogeneous environment
9. NIS+ : Can an HP be a NIS client to a Sun NIS+ server
10. how do I disable telnet login with certain user id, only allowing console login?
11. NIS-Server login restriction
12. Login problem on NIS+ server
13. ***Restrict login in Linux NIS server