login_class.3 (4aee48edccd1ec89a29a44be2a509c807b23c324) | login_class.3 (3dc329d1be00b8b4ba4a45886b6374289daa8ab0) |
---|---|
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, --- 10 unchanged lines hidden (view full) --- 19.\" 20.\" $FreeBSD$ 21.\" 22.Dd December 28, 1996 23.Os FreeBSD 24.Dt LOGIN_CLASS 3 25.Sh NAME 26.Nm setclasscontext , | 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, --- 10 unchanged lines hidden (view full) --- 19.\" 20.\" $FreeBSD$ 21.\" 22.Dd December 28, 1996 23.Os FreeBSD 24.Dt LOGIN_CLASS 3 25.Sh NAME 26.Nm setclasscontext , |
27.Nm setusercontext , | 27.Nm setclassenvironment , |
28.Nm setclassresources , | 28.Nm setclassresources , |
29.Nm setclassenvironment | 29.Nm setusercontext |
30.Nd functions for using the login class capabilities database. | 30.Nd functions for using the login class capabilities database. |
31.Sh LIBRARY 32.Lb libutil |
|
31.Sh SYNOPSIS 32.Fd #include <sys/types.h> 33.Fd #include <login_cap.h> 34.Ft int 35.Fn setclasscontext "const char *classname" "unsigned int flags" 36.Ft int 37.Fn setusercontext "login_cap_t *lc" "const struct passwd *pwd" "uid_t uid" "unsigned int flags" 38.Ft void 39.Fn setclassresources "login_cap_t *lc" 40.Ft void 41.Fn setclassenvironment "login_cap_t *lc" "const struct passwd *pwd" "int paths" | 33.Sh SYNOPSIS 34.Fd #include <sys/types.h> 35.Fd #include <login_cap.h> 36.Ft int 37.Fn setclasscontext "const char *classname" "unsigned int flags" 38.Ft int 39.Fn setusercontext "login_cap_t *lc" "const struct passwd *pwd" "uid_t uid" "unsigned int flags" 40.Ft void 41.Fn setclassresources "login_cap_t *lc" 42.Ft void 43.Fn setclassenvironment "login_cap_t *lc" "const struct passwd *pwd" "int paths" |
42.Pp 43Link with 44.Va -lutil 45on the 46.Xr cc 1 47command line. | |
48.Sh DESCRIPTION 49These functions provide a higher level interface to the login class 50database than those documented in 51.Xr login_cap 3 . 52These functions are used to set resource limits, environment and 53accounting settings for users on logging into the system and when 54selecting an appropriate set of environment and resource settings 55for system daemons based on login classes. --- 138 unchanged lines hidden --- | 44.Sh DESCRIPTION 45These functions provide a higher level interface to the login class 46database than those documented in 47.Xr login_cap 3 . 48These functions are used to set resource limits, environment and 49accounting settings for users on logging into the system and when 50selecting an appropriate set of environment and resource settings 51for system daemons based on login classes. --- 138 unchanged lines hidden --- |