.\" Copyright (c) 2011, Mark R. Bannister <cambridge@users.sourceforge.net>
.\"
+.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
-.\" License along with this manual; if not, write to the Free
-.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
-.\" USA.
+.\" License along with this manual; if not, see
+.\" <http://www.gnu.org/licenses/>.
+.\" %%%LICENSE_END
.\"
-.TH GETENT 1 2011-10-31 "Linux" "User Commands"
+.TH GETENT 1 2013-03-15 "Linux" "User Commands"
.SH NAME
getent \- get entries from Name Service Switch libraries
.SH SYNOPSIS
to match to a netgroup name via
.BR innetgr (3).
Enumeration is not supported on
-.BR initgroups ,
+.BR netgroup ,
so either one or three
.I keys
must be provided.
.BR getspnam (3)
and display the result.
.RE
-.SH "EXIT STATUS"
+.SH EXIT STATUS
One of the following exit values can be returned by
.BR getent :
.RS 3
Enumeration not supported on this
.IR database .
.RE
-.SH "SEE ALSO"
+.SH SEE ALSO
.BR nsswitch.conf (5)