NSS-OSLOGIN(8)
π NSS-OSLOGIN π
okay bestie, gather round, because we're about to talk about nss-oslogin and its lil library buddy libnss_oslogin.so.2 β the UNIX implementation for OS Login Users and Groups. yes this is a section 8 system manager's manual page, no it is not boring, stay with me π«Ά
β¨ NAME β¨
nss-oslogin, libnss_oslogin.so.2 β the UNIX implementation for OS Login Users and Groups. that's the whole vibe. π
πΈ SYNOPSIS πΈ
libnss_oslogin.so.2
that's it. that's the synopsis. iconic minimalism, honestly. β¨
π¦ DESCRIPTION π¦
so nss-oslogin is a plug-in module for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc). it's giving "quietly holding your whole system's identity together" energy. π
what it actually does: it provides UNIX name resolution for users and groups that are configured through the Google Cloud OS Login system. so when your box is like "who is this person, what groups do they belong to" β this module is the one with the answers. π
the services it supports are:
passwdgroupinitgroups
those three. that's the roster. periodt. π
π how to actually turn it on
to use the NSS module, you add oslogin to the appropriate service lines in nsswitch.conf. π«
and the recommendation, bestie, listen closely: place oslogin as the last entry for each service. last. entry. not first, not in the middle, last. it's the backup singer who comes in at the end and slays. π€β¨
π NOTES π
documentation for the Google Cloud OS Login service is available online, and the link is:
https://cloud.google.com/compute/docs/oslogin
go read it, it's giving "homework but make it useful". π
π SEE ALSO π
all of them. go read all of them. iykyk. π§
ngl there are no warnings on this page, no bugs listed, and no exit statuses to worry about β it's just a clean lil NSS module doing its thing. no cap. π
Google Cloud Β· 2019-06-06 β and that's the sign-off bestie, the source and the date, exactly as the page says. thanks for coming to my ted talk, now go add oslogin to your nsswitch.conf (at the end!!) and live your best resolved-identity life. mwah. π
ππ¦
π¦ 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