login_cap.3 (206622) | login_cap.3 (233648) |
---|---|
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 206622 2010-04-14 19:08:06Z uqs $ | 20.\" $FreeBSD: head/lib/libutil/login_cap.3 233648 2012-03-29 05:02:12Z eadler $ |
21.\" 22.Dd June 14, 2007 23.Dt LOGIN_CAP 3 24.Os 25.Sh NAME 26.Nm login_close , 27.Nm login_getcapbool , 28.Nm login_getcaplist , --- 475 unchanged lines hidden (view full) --- 504.Fa auth 505and 506.Fa style , 507and 508applies these to determine the authorisation style that best suites 509these rules. 510.Bl -bullet 511.It | 21.\" 22.Dd June 14, 2007 23.Dt LOGIN_CAP 3 24.Os 25.Sh NAME 26.Nm login_close , 27.Nm login_getcapbool , 28.Nm login_getcaplist , --- 475 unchanged lines hidden (view full) --- 504.Fa auth 505and 506.Fa style , 507and 508applies these to determine the authorisation style that best suites 509these rules. 510.Bl -bullet 511.It |
512If | 512If |
513.Fa auth 514is neither 515.Dv NULL 516nor an empty string, look for a tag of type 517.Ql auth- Ns Fa <auth> 518in the capability record. 519If not present, then look for the default tag 520.Va auth= . 521.It 522If no valid authorisation list was found from the previous step, then 523default to 524.Ql passwd 525as the authorisation list. 526.It | 513.Fa auth 514is neither 515.Dv NULL 516nor an empty string, look for a tag of type 517.Ql auth- Ns Fa <auth> 518in the capability record. 519If not present, then look for the default tag 520.Va auth= . 521.It 522If no valid authorisation list was found from the previous step, then 523default to 524.Ql passwd 525as the authorisation list. 526.It |
527If | 527If |
528.Fa style 529is not 530.Dv NULL 531or empty, look for it in the list of authorisation 532methods found from the previous step. 533If 534.Fa style 535is --- 44 unchanged lines hidden --- | 528.Fa style 529is not 530.Dv NULL 531or empty, look for it in the list of authorisation 532methods found from the previous step. 533If 534.Fa style 535is --- 44 unchanged lines hidden --- |