Visit Our UNIX and Linux User Community


compat -- nispus


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

passwd: compat
passwd_compat: nisplus

Thanks
# 2  
Old 03-15-2001
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
Test Your Knowledge in Computers #953
Difficulty: Medium
A memory-resident virus installs itself as part of the operating system when executed, after which it remains in RAM from the time the computer is booted up to when it is shut down.
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