1755703 Members
3857 Online
108837 Solutions
New Discussion юеВ

Re: Restrict NIS users

 
Ross Minkov
Esteemed Contributor

Re: Restrict NIS users

Arthur,

Try this:

1. Only add the following to /etc/passwd:

+@admin

Remove any lines that have ::::...
Also make sure you don't have a "+" line in it.

2. Add the following line to /etc/group:

+

3. Change you /etc/nsswitch.conf to have:

passwd: compat
shadow: compat
group: compat


HTH,
Ross
Artur Shnayder
New Member

Re: Restrict NIS users

"+" in the /etc/group file removed GID error message, all the rest is the same.
I forgot to mention that it's RHE3 update 4.
I guess the problem is somewhere in pam modules.
Binu_5
Regular Advisor

Re: Restrict NIS users

Hi

I have added only one user in
/etc/security/access.conf like the following format
+:alphy but still other users can access the system

Thanks
Binu