---
name: "nss-cache-oslogin"
section: "8"
platform: "linux"
package: "google-compute-engine-oslogin"
version: "20240415.00-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nss-cache-oslogin"
---

# nss-cache-oslogin(8)

UNIX implementation for OS Login Users and Groups with local caching.

## 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

**nss-cache-oslogin** is a plug-in module for the GNU Name Service Switch (NSS) functionality of the GNU C Library (**glibc**). This module provides UNIX name resolution from a local cache of users and groups configured in the *Google Cloud OS Login* system. The "passwd" and "group" services are supported by this module.

To use the NSS module, add "cache\_oslogin" to the appropriate service lines in nsswitch.conf. It is recommended to place "cache\_oslogin" after any system provided modules and before the "oslogin" module, as it is a pass-through cache.

## 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⟩

## SEE ALSO

**nss-oslogin**(5), [**nsswitch.conf**(5)](/nsswitch.conf/5.md), [**nss**(5)](/nss/5.md), [**getent**(1)](/getent/1.md), [**initgroups**(3)](/initgroups/3.md)
