Sponsored Content
Full Discussion: compat -- nispus
Top Forums UNIX for Dummies Questions & Answers compat -- nispus Post 1567 by mib on Thursday 15th of March 2001 01:32:19 AM
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

 

We Also Found This Discussion For You

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
NSS-SYSTEMD(8)							    nss-systemd 						    NSS-SYSTEMD(8)

NAME
nss-systemd, libnss_systemd.so.2 - Provide UNIX user and group name resolution for dynamic users and groups. SYNOPSIS
libnss_systemd.so.2 DESCRIPTION
nss-systemd is a plug-in module for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc), providing UNIX user and group name resolution for dynamic users and groups allocated through the DynamicUser= option in systemd unit files. See systemd.exec(5) for details on this option. This module also ensures that the root and nobody users and groups (i.e. the users/groups with the UIDs/GIDs 0 and 65534) remain resolvable at all times, even if they aren't listed in /etc/passwd or /etc/group, or if these files are missing. To activate the NSS module, add "systemd" to the lines starting with "passwd:" and "group:" in /etc/nsswitch.conf. It is recommended to place "systemd" after the "files" or "compat" entry of the /etc/nsswitch.conf lines so that /etc/passwd and /etc/group based mappings take precedence. EXAMPLE
Here is an example /etc/nsswitch.conf file that enables nss-systemd correctly: passwd: compat mymachines systemd group: compat mymachines systemd shadow: compat hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis SEE ALSO
systemd(1), systemd.exec(5), nss-resolve(8), nss-myhostname(8), nss-mymachines(8), nsswitch.conf(5), getent(1) systemd 237 NSS-SYSTEMD(8)
All times are GMT -4. The time now is 08:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy