Print this page
9728 3secdb man pages need some tlc

@@ -1,11 +1,11 @@
 '\" te
 .\" Copyright (c) 2009, Sun Microsystems, Inc.  All Rights Reserved.
 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH GETAUTHATTR 3SECDB "Feb 20, 2009"
+.TH GETAUTHATTR 3SECDB "Aug 13, 2018"
 .SH NAME
 getauthattr, getauthnam, free_authattr, setauthattr, endauthattr, chkauthattr
 \- get authorization entry
 .SH SYNOPSIS
 .LP

@@ -41,11 +41,10 @@
 .nf
 \fBint\fR \fBchkauthattr\fR(\fBconst char *\fR\fIauthname\fR, \fBconst char *\fR\fIusername\fR);
 .fi
 
 .SH DESCRIPTION
-.sp
 .LP
 The \fBgetauthattr()\fR and \fBgetauthnam()\fR functions each return an
 \fBauth_attr\fR(4) entry. Entries can come from any of the sources specified in
 the \fBnsswitch.conf\fR(4) file.
 .sp

@@ -129,14 +128,13 @@
 .sp
 .TS
 box;
 c | c | c
 c | c | c .
-        \f(CW/etc/security/policy.conf\fR or    Is user
+        \fB/etc/security/policy.conf\fR or      Is user
+\fBAuthorization name\fR        \fBuser_attr\fR or \fBprof_attr\fR entry        authorized?
 _
-\fBAuthorization name\fR        \fBuser_attr\fR or \fB\fR \fBprof_attr\fR entry authorized?
-_
 solaris.printer.postscript      solaris.printer.postscript      Yes
 solaris.printer.postscript      solaris.printer.*       Yes
 solaris.printer.grant   solaris.printer.*       No
 .TE
 

@@ -143,11 +141,10 @@
 .sp
 .LP
 The \fBfree_authattr()\fR function releases memory allocated by the
 \fBgetauthnam()\fR and  \fBgetauthattr()\fR functions.
 .SH RETURN VALUES
-.sp
 .LP
 The \fBgetauthattr()\fR function returns a pointer to an  \fBauthattr_t\fR if
 it successfully enumerates an entry; otherwise it returns \fINULL\fR,
 indicating the end of the enumeration.
 .sp

@@ -157,32 +154,29 @@
 .sp
 .LP
 The \fBchkauthattr()\fR function returns 1 if the user is authorized and 0 if
 the user does not exist or is not authorized.
 .SH USAGE
-.sp
 .LP
 The \fBgetauthattr()\fR and \fBgetauthnam()\fR functions both allocate memory
 for the pointers they return. This memory should be deallocated with the
 \fBfree_authattr()\fR call.
 .sp
 .LP
 Individual attributes in the \fBattr\fR structure can be referred to by calling
 the \fBkva_match\fR(3SECDB) function.
 .SH WARNINGS
-.sp
 .LP
 Because the list of legal keys is likely to expand, code  must be written to
 ignore unknown key-value pairs without error.
 .SH FILES
-.sp
 .ne 2
 .na
 \fB\fB/etc/nsswitch.conf\fR\fR
 .ad
 .RS 29n
-configuration file lookup information for the name server switch
+configuration file lookup information for the name service switch
 .RE
 
 .sp
 .ne 2
 .na

@@ -218,11 +212,10 @@
 .RS 29n
 profile information
 .RE
 
 .SH ATTRIBUTES
-.sp
 .LP
 See \fBattributes\fR(5) for descriptions of the following attributes:
 .sp
 
 .sp

@@ -234,10 +227,10 @@
 _
 MT-Level        MT-Safe
 .TE
 
 .SH SEE ALSO
-.sp
 .LP
-\fBgetexecattr\fR(3SECDB), \fBgetprofattr\fR(3SECDB),
-\fBgetuserattr\fR(3SECDB), \fBauth_attr\fR(4), \fBnsswitch.conf\fR(4),
-\fBprof_attr\fR(4), \fBuser_attr\fR(4), \fBattributes\fR(5), \fBrbac\fR(5)
+\fBgetexecattr\fR(3SECDB), \fBgetprofattr\fR(3SECDB), \fBgetuserattr\fR(3SECDB),
+\fBkva_match\fR(3SECDB), \fBauth_attr\fR(4), \fBnsswitch.conf\fR(4),
+\fBpolicy.conf\fR(4), \fBprof_attr\fR(4), \fBuser_attr\fR(4),
+\fBattributes\fR(5), \fBrbac\fR(5)