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
UNIX/Linux permissions and groups – getent
Join 165 other subscribers
archives
Category
- ▼Computers
- ►(x)html
- ►bash
- ►css
- ►elasticsearch
- ►git
- ►hardware
- ►java
- ►javascript
- ►latex
- ▼linux
- BASH history and GNU screen
- Bash one-liners to the rescue
- broke my linux install again
- convert pdf to png with imagemagick
- cross-platform file encryption
- Editing video from a Canon FS100 with Kino and ffmpeg
- Kubuntu Gutsy with Compiz
- Monitoring and automatically restarting services
- My new computer — hardware
- My new computer — software
- Photos, EXIF, IPTC oh my!
- Picasa 3 collages
- Picasa, JAlbum, and null bytes
- Reading iptc captions from jpegs with imagemagick
- sort using TAB as field separator in bash
- Strange bracketing behavior in grep and sed
- UNIX tip of the day: pushd
- UNIX tip of the day: readlink
- UNIX Tip of the day: simple backups
- UNIX/Linux permissions and groups – getent
- Using awk to sum rows of numbers
- Vetting vignetting
- vi key bindings in R
- Why doesn’t Mac update standard UNIX utilities?
- Xorg.conf configuration — solved font size problem
- ►lucene
- ►mac osx
- ►perl
- ►php
- ►python
- ►regex
- ►software development
- ►solr
- ►sql
- ►svn
- ►UNIX
- ►vim
- ►wiki/cms
- ►WordPress
- ►(x)html
- ►cooking
- ►environmentalism
- ►general
- ►linguistics
- ►mindfulness
- ►music
- ►photography