compat -- nispus


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers compat -- nispus
# 1  
Can someone please explain "compat" entries in the /etc/nsswitch.conf file like;

passwd: compat
passwd_compat: nisplus

Thanks
# 2  
Quote:
In /etc/passwd you could have entries of the form +user or +@netgroup (include the specified user from the NIS passwd map), -user or -@netgroup (exclude the specified user) and + (include every user, except the excluded ones, from the NIS passwd map). Since most people only put a + at the end of /etc/passwd to include everything from NIS, the switch provides a faster native for this case (`passwd: files nis') which doesn't require the single + entry in etc/passwd, /etc/group and /etc/shadow. If this is not sufficient, the NSS `compat' service provides full +/- semantics. By default, the source is `nis', but this may be overriden by specifying `nisplus' as source for the pseudo-databases passwd_compat, group_compat and shadow_compat.

If compatibility with the +/- syntax for passwd required (default nis):

passwd: compat

If the use of +/- syntax is desired in conjunction with nisplus:

passwd: compat
passwd_compat: nisplus


Hope this will help you Smilie

 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #98
Difficulty: Easy
Unix was the first operating system that was written in a high-level programming language (C Language).
True or False?

1 More Discussions You Might Find Interesting

1. AIX

I can't install Ifor_ls.compat, Ifor_ls.base in pSeries AIX DEMOpkg 2005

Hi there, I need to install the IBM C++ Compiler in pSeries AIX DEMOpkg 2005 but I can't find Ifor_ls Ifor_ls.html.en_US Ifor_ls.ipf.en_US Ifor_ls.compat Ifor_ls.base Have you got the experience about that? Thank you very much. Thang. (0 Replies)
Discussion started by: pvthang43
0 Replies

Featured Tech Videos