NSS-CACHE-OSLOGIN(8)
NSS-CACHE-OSLOGIN πβ¨
okay bestie, so this is the System Manager's Manual page for nss-cache-oslogin (and its whole other name, libnss_cache_oslogin.so.2) β it's the UNIX implementation for OS Login Users and Groups with local caching. yes that's a lot of words, we'll get there π«Ά
πΈ NAME πΈ
nss-cache-oslogin, libnss_cache_oslogin.so.2 β UNIX implementation for OS Login Users and Groups with local caching.
β¨ SYNOPSIS β¨
libnss_cache_oslogin.so.2
π DESCRIPTION π
so nss-cache-oslogin is a plug-in module for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc). lowkey iconic of it.
what it does: this module provides UNIX name resolution from a local cache of users and groups that are configured in the Google Cloud OS Login system. it's giving "i know these people, i have them written down." π
the services supported by this module are the passwd and group services. those two, and only those two.
to actually use the NSS module, you gotta add cache_oslogin to the appropriate service lines in nsswitch.conf.
and here's the recommendation, listen up: place cache_oslogin after any system provided modules and before the oslogin module, because it is a pass-through cache. order matters bestie, it's a whole vibe. π
fr fr, don't skip the ordering bit. it's a pass-through cache, so it wants to sit in that exact spot.
π FILES π
/etc/oslogin_passwd.cacheβ user cache file πββοΈ/etc/oslogin_group.cacheβ group cache file π
π NOTES π
documentation for the Google Cloud OS Login service is available online at:
https://cloud.google.com/compute/docs/oslogin
go read it, iykyk. π
π¦ SEE ALSO π¦
nss-oslogin(5)nsswitch.conf(5)nss(5)getent(1)initgroups(3)
and that's the whole page, bestie!! π₯³ no cap, you now understand nss-cache-oslogin better than half the people who installed it. this lil' manual came from Google Cloud, dated 2019-06-06, and it lives under the manual name NSS-CACHE-OSLOGIN(8). slay, go forth and resolve some names π
β¨πΈ
π¦ where this page comes from
- debian bookworm: google-compute-engine-oslogin 20210907.00-1+b3 Β· Apache-2.0
- debian trixie: google-compute-engine-oslogin 20240415.00-1 Β· Apache-2.0
- nixos 26.05: google-guest-oslogin 20260214.00
- nixpkgs unstable: google-guest-oslogin 20260214.00
- opensuse-leap 16.0: google-guest-oslogin 20260430.00-160000.1.1 Β· Apache-2.0
- opensuse-leap 16.0: google-guest-oslogin 20260430.00-160000.1.1 Β· Apache-2.0
- opensuse-leap 16.0: google-guest-oslogin 20260430.00-160000.1.1 Β· Apache-2.0
- opensuse-leap 16.0: google-guest-oslogin 20260430.00-160000.1.1 Β· Apache-2.0
- ubuntu jammy: google-compute-engine-oslogin 20210907.00-0ubuntu2 Β· Apache-2.0
- ubuntu jammy: google-compute-engine-oslogin 20231004.00-0ubuntu1~22.04.2 Β· Apache-2.0
- ubuntu jammy: google-compute-engine-oslogin 20260814.00-0ubuntu1~22.04.0 Β· Apache-2.0
- ubuntu noble: google-compute-engine-oslogin 20231004.00-0ubuntu4 Β· Apache-2.0
- ubuntu noble: google-compute-engine-oslogin 20260814.00-0ubuntu1~24.04.0 Β· Apache-2.0
- ubuntu questing: google-compute-engine-oslogin 20240701.00-0ubuntu1
- ubuntu questing: google-compute-engine-oslogin 20260116.00-0ubuntu1~25.10.0
- ubuntu resolute: google-compute-engine-oslogin 20260116.00-0ubuntu1 Β· Apache-2.0
- ubuntu resolute: google-compute-engine-oslogin 20260814.00-0ubuntu1~26.04.0 Β· Apache-2.0
- ubuntu stonking: google-compute-engine-oslogin 20260814.00-0ubuntu1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms