Skip to main content

Questions tagged [nsswitch]

Name Service Switch, an modular interface built in to the GNU C library that handles data retrieval from system databases, e.g., password, group, etc.

0 votes
1 answer
14 views

I want to use a Debian Stable system to authentificate to two different LDAP servers that provide user/password/group data using e.g. LDAP/NSS / nss-pam-ldapd (https://wiki.debian.org/LDAP/NSS, https:/...
tardis's user avatar
  • 143
1 vote
0 answers
32 views

One of my computers won't resolve a domain that the local gateway resolves with a CNAME. The nsswitch config is identical on both machines. I just can't work out what the cause is. computer A (works): ...
Banyoghurt's user avatar
0 votes
2 answers
99 views

Background Recently, I learned that there is a name Service Switch configuration file - nsswitch.conf in some Unix-like operating systems. We can change the domain name resolution order using nsswitch....
Continuous Improvement's user avatar
15 votes
2 answers
5k views

I inherited a Linux server; the previous administrator is no longer with our company. I can log in to the server via SSH with my company-wide Microsoft Directory administration user, and it works ...
Matthias Ronge's user avatar
1 vote
0 answers
52 views

In my environment we launch containers with a specific uid/gid that our users use as workspaces. It's a bit finicky and one of the drawbacks is that there won't be a matching user in /etc/passwd, ...
vadimb's user avatar
  • 11
1 vote
2 answers
825 views

I've got Fedora 38 KDE Spin. To access corporate VPN resources in .local zone I need to make queries to the DNS server after establishing connection. Default nsswitch.conf hosts section looks like ...
PocketSam's user avatar
  • 113
7 votes
1 answer
54k views

Is there a way I can permanently set the DNS preference of my Ubuntu laptop for specific network interfaces? I am relying on a wifi network that is not that predictable. I don't have access to the ...
TPPZ's user avatar
  • 647
0 votes
2 answers
729 views

What is the practical difference between setting *LK* in /etc/shadow and setting /usr/sbin/nologon in /etc/passwd? When would we choose one over the other? When would we combine them?
Lyubomir's user avatar
  • 113
3 votes
1 answer
2k views

I'm trying to configure sssd instead of nslcd for my Rhel system, and then I came across nsswitch. What's the difference between these three?
N. J's user avatar
  • 197
1 vote
1 answer
6k views

I have an administration node running LDAP and a login node which uses LDAP on the other node to authorize users. Users are able to log into the login node successfully. When I run getent passwd, on ...
loris's user avatar
  • 195
0 votes
1 answer
754 views

I have a server I've discovered from a Manjaro client using avahi named unaha-closp. However, when I ping it I get: ping: unaha-closp.local: Name or service not known In /etc/nsswitch.conf my hosts ...
Nate's user avatar
  • 154
2 votes
2 answers
2k views

I have an updated Debian 11 (bullseye) setup and want to use avahi to connect to locally connected computers. avahi works, for example: avahi-resolve -n4 prag11mono.local gives prag11mono.local 10.0....
user855443's user avatar
0 votes
1 answer
89 views

I was not able to find a date or a Solaris release number... Also, beside Ultrix's svc.conf system (mentionned in NSS's Wikipedia article), did other comparable systems exist in other Unices, before ...
Eusebius's user avatar
  • 184
1 vote
0 answers
293 views

I have created an NSS and a PAM module in order to authenticate and get users and groups from a custom remote server. In order to get them used by the system I am adding a line in /etc/pam.d/sshd: ...
sotiris's user avatar
  • 111
1 vote
0 answers
538 views

My organization has to get rid of their ldap servers, so I am facing the task of replacing it's functionality. To make this as customizable and future-proof as I can, I am looking for something that ...
Redjard's user avatar
  • 11

15 30 50 per page