1.\"-
2.\" Copyright (c) 2005-2006 Robert N. M. Watson
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
--- 9 unchanged lines hidden (view full) ---
18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_user.3#3 $
27.\"
28.Dd April 19, 2005
29.Dt AU_USER 3
30.Os
31.Sh NAME
32.Nm setauuser ,
33.Nm endauuser ,
34.Nm getauuserent ,
--- 32 unchanged lines hidden (view full) ---
67which stores the user's name in
68.Dv au_name ,
69events to always audit in
70.Dv au_always ,
71and events never to audit
72.Dv au_never .
73.Pp
74.Fn getauuserent
75return the next user found in the
76.Xr audit_user 5
77database, or the first if the function has not yet been called.
78.Dv NULL
79will be returned if no further records are available.
80.Pp
81.Fn getauusernam
82looks up a user by name.
83.Dv NULL
--- 7 unchanged lines hidden (view full) ---
91to start again from the beginning of the file.
92.Pp
93.Fn endauuser
94closes the
95.Xr audit_user 5
96database, if open.
97.Pp
98.Nm au_user_mask
99calculate a new session audit mask to be returned via
100.Dv mask_p
101for the user identified by
102.Dv username .
103If the user audit configuration is not found, the default system audit
104properties returned by
105.Xr getacflg 3 .
106The resulting mask may be set via a call to
107.Xr setaudit 3
--- 29 unchanged lines hidden ---
2.\" Copyright (c) 2005-2006 Robert N. M. Watson
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
--- 9 unchanged lines hidden (view full) ---
18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_user.3#3 $
27.\"
28.Dd April 19, 2005
29.Dt AU_USER 3
30.Os
31.Sh NAME
32.Nm setauuser ,
33.Nm endauuser ,
34.Nm getauuserent ,
--- 32 unchanged lines hidden (view full) ---
67which stores the user's name in
68.Dv au_name ,
69events to always audit in
70.Dv au_always ,
71and events never to audit
72.Dv au_never .
73.Pp
74.Fn getauuserent
75return the next user found in the
76.Xr audit_user 5
77database, or the first if the function has not yet been called.
78.Dv NULL
79will be returned if no further records are available.
80.Pp
81.Fn getauusernam
82looks up a user by name.
83.Dv NULL
--- 7 unchanged lines hidden (view full) ---
91to start again from the beginning of the file.
92.Pp
93.Fn endauuser
94closes the
95.Xr audit_user 5
96database, if open.
97.Pp
98.Nm au_user_mask
99calculate a new session audit mask to be returned via
100.Dv mask_p
101for the user identified by
102.Dv username .
103If the user audit configuration is not found, the default system audit
104properties returned by
105.Xr getacflg 3 .
106The resulting mask may be set via a call to
107.Xr setaudit 3
--- 29 unchanged lines hidden ---