Commit | Line | Data |
---|---|---|
b1052012 C |
1 | |
2 | ||
3 | ||
4 | KUSEROK(3) BSD Programmer's Manual KUSEROK(3) | |
5 | ||
6 | ||
7 | N\bNA\bAM\bME\bE | |
8 | kuserok - Kerberos version of ruserok | |
9 | ||
10 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS | |
11 | #\b#i\bin\bnc\bcl\blu\bud\bde\be <\b<k\bke\ber\brb\bbe\ber\bro\bos\bsI\bIV\bV/\b/k\bkr\brb\bb.\b.h\bh>\b> | |
12 | ||
13 | k\bku\bus\bse\ber\bro\bok\bk(\b(k\bkd\bda\bat\bta\ba,\b, l\blo\boc\bca\bal\blu\bus\bse\ber\br)\b) | |
14 | A\bAU\bUT\bTH\bH_\b_D\bDA\bAT\bT *\b*a\bau\but\bth\bh_\b_d\bda\bat\bta\ba;\b; | |
15 | c\bch\bha\bar\br *\b*l\blo\boc\bca\bal\blu\bus\bse\ber\br;\b; | |
16 | ||
17 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN | |
18 | _\bk_\bu_\bs_\be_\br_\bo_\bk determines whether a Kerberos principal described | |
19 | by the structure _\ba_\bu_\bt_\bh_\b__\bd_\ba_\bt_\ba is authorized to login as user | |
20 | _\bl_\bo_\bc_\ba_\bl_\bu_\bs_\be_\br according to the authorization file | |
21 | ("~_\bl_\bo_\bc_\ba_\bl_\bu_\bs_\be_\br/.klogin" by default). It returns 0 (zero) if | |
22 | authorized, 1 (one) if not authorized. | |
23 | ||
24 | If there is no account for _\bl_\bo_\bc_\ba_\bl_\bu_\bs_\be_\br on the local machine, | |
25 | authorization is not granted. If there is no authoriza- | |
26 | tion file, and the Kerberos principal described by | |
27 | _\ba_\bu_\bt_\bh_\b__\bd_\ba_\bt_\ba translates to _\bl_\bo_\bc_\ba_\bl_\bu_\bs_\be_\br (using _\bk_\br_\bb_\b__\bk_\bn_\bt_\bo_\bl_\bn(3)), | |
28 | authorization is granted. If the authorization file can't | |
29 | be accessed, or the file is not owned by _\bl_\bo_\bc_\ba_\bl_\bu_\bs_\be_\br_\b, autho- | |
30 | rization is denied. Otherwise, the file is searched for a | |
31 | matching principal name, instance, and realm. If a match | |
32 | is found, authorization is granted, else authorization is | |
33 | denied. | |
34 | ||
35 | The file entries are in the format: | |
36 | name.instance@realm | |
37 | with one entry per line. | |
38 | ||
39 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
40 | kerberos(3), ruserok(3), krb_kntoln(3) | |
41 | ||
42 | F\bFI\bIL\bLE\bES\bS | |
43 | ~_\bl_\bo_\bc_\ba_\bl_\bu_\bs_\be_\br/.klogin authorization list | |
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 | ||
50 | ||
51 | ||
52 | ||
53 | ||
54 | ||
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 | MIT Project Athena Kerberos Version 4.0 1 | |
62 | ||
63 | ||
64 | ||
65 | ||
66 |