Deleted Added
full compact
login_cap.3 (56215) login_cap.3 (57686)
1.\" Copyright (c) 1995 David Nugent <davidn@blaze.net.au>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, is permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice immediately at the beginning of the file, without modification,
9.\" this list of conditions, and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\" notice, this list of conditions and the following disclaimer in the
12.\" documentation and/or other materials provided with the distribution.
13.\" 3. This work was done expressly for inclusion into FreeBSD. Other use
14.\" is permitted provided this notation is included.
15.\" 4. Absolutely no warranty of function or purpose is made by the author
16.\" David Nugent.
17.\" 5. Modifications may be freely made to this file providing the above
18.\" conditions are met.
19.\"
1.\" Copyright (c) 1995 David Nugent <davidn@blaze.net.au>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, is permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice immediately at the beginning of the file, without modification,
9.\" this list of conditions, and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\" notice, this list of conditions and the following disclaimer in the
12.\" documentation and/or other materials provided with the distribution.
13.\" 3. This work was done expressly for inclusion into FreeBSD. Other use
14.\" is permitted provided this notation is included.
15.\" 4. Absolutely no warranty of function or purpose is made by the author
16.\" David Nugent.
17.\" 5. Modifications may be freely made to this file providing the above
18.\" conditions are met.
19.\"
20.\" $FreeBSD: head/lib/libutil/login_cap.3 56215 2000-01-18 03:02:29Z chris $
20.\" $FreeBSD: head/lib/libutil/login_cap.3 57686 2000-03-02 09:14:21Z sheldonh $
21.\"
22.Dd December 27, 1996
23.Os FreeBSD
24.Dt LOGIN_CAP 3
25.Sh NAME
26.Nm login_getclassbyname ,
27.Nm login_close ,
28.Nm login_getclass ,

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

141indirectly via a user's login record using
142.Fn login_getpwclass ,
143by class name using
144.Fn login_getclass ,
145or
146.Fn login_getuserclass .
147If the referenced user has no login class specified in
148.Pa /etc/master.passwd ,
21.\"
22.Dd December 27, 1996
23.Os FreeBSD
24.Dt LOGIN_CAP 3
25.Sh NAME
26.Nm login_getclassbyname ,
27.Nm login_close ,
28.Nm login_getclass ,

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

141indirectly via a user's login record using
142.Fn login_getpwclass ,
143by class name using
144.Fn login_getclass ,
145or
146.Fn login_getuserclass .
147If the referenced user has no login class specified in
148.Pa /etc/master.passwd ,
149the class name is NULL or an empty string. If the class
149the class name is NULL or an empty string.
150If the class
150specified does not exist in the database, each of these
151functions will search for a record with an id of "default",
152with that name returned in the
153.Ar lc_class
154field.
155In addition, if the referenced user has a UID of 0 (normally,
156"root", although the user name is not considered) then
157.Fn login_getpwclass

--- 246 unchanged lines hidden ---
151specified does not exist in the database, each of these
152functions will search for a record with an id of "default",
153with that name returned in the
154.Ar lc_class
155field.
156In addition, if the referenced user has a UID of 0 (normally,
157"root", although the user name is not considered) then
158.Fn login_getpwclass

--- 246 unchanged lines hidden ---