ulog_login.3 (691ac623d7dc777e723f45bb0b941c28ef3d83a1) ulog_login.3 (2208eadf43351a36e70377f3e796daf76a06b8d9)
1.\" Copyright (c) 2009 Ed Schouten <ed@FreeBSD.org>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 10 unchanged lines hidden (view full) ---

19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
1.\" Copyright (c) 2009 Ed Schouten <ed@FreeBSD.org>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 10 unchanged lines hidden (view full) ---

19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
27.Dd December 5, 2009
27.Dd December 2, 2009
28.Os
29.Dt ULOG_LOGIN 3
30.Sh NAME
31.Nm ulog_login ,
32.Nm ulog_login_pseudo ,
33.Nm ulog_logout ,
34.Nm ulog_logout_pseudo
35.Nd manage user login records

--- 49 unchanged lines hidden (view full) ---

85.Fn ulog_logout
86cannot be trusted, these functions require administrative privileges.
87The
88.Fn ulog_login_pseudo
89and
90.Fn ulog_logout_pseudo
91functions spawn a privileged process to perform the actual logging.
92.Sh SEE ALSO
28.Os
29.Dt ULOG_LOGIN 3
30.Sh NAME
31.Nm ulog_login ,
32.Nm ulog_login_pseudo ,
33.Nm ulog_logout ,
34.Nm ulog_logout_pseudo
35.Nd manage user login records

--- 49 unchanged lines hidden (view full) ---

85.Fn ulog_logout
86cannot be trusted, these functions require administrative privileges.
87The
88.Fn ulog_login_pseudo
89and
90.Fn ulog_logout_pseudo
91functions spawn a privileged process to perform the actual logging.
92.Sh SEE ALSO
93.Xr posix_openpt 2 ,
94.Xr getuid 3 ,
93.Xr getuid 3 ,
94.Xr login 3 ,
95.Xr logout 3 ,
96.Xr posix_openpt 2 ,
95.Xr ptsname 3 ,
97.Xr ptsname 3 ,
96.Xr pututxline 3
98.Xr ulog_getutxent 3 ,
99.Xr utmp 5
97.Sh HISTORY
98These functions appeared in
99.Fx 9.0 .
100.Sh HISTORY
101These functions appeared in
102.Fx 9.0 .