UNIX/Linux permissions and groups – getent

I keep forgetting this command, so I writing it here so I know where to find it. Getent will list information about users and groups on a UNIX/Linux system, including NIS and LDAP users, which is crucial networks with multiple nodes. For example to list information about a user named robert_felty, you can do:

$ getent passwd robert_felty
robert_felty:$1$iPJ.svD/$ce77I/wxh129FLt2Z7UOm.:5440:112:Robert Felty:/home/robert_felty:/bin/bash

Join 38 other subscribers

archives

  • ▼2026 (10)
  • ►2025 (10)
  • ►2024 (10)
  • ►2023 (8)
  • ►2022 (15)
  • ►2021 (19)
  • ►2020 (1)
  • ►2019 (1)
  • ►2018 (2)
  • ►2017 (1)
  • ►2016 (2)
  • ►2015 (5)
  • ►2014 (5)
  • ►2013 (2)
  • ►2011 (7)
  • ►2010 (10)
  • ►2009 (50)
  • ►2008 (28)
  • ►2007 (31)
  • ►2006 (8)

Category