📄 kuserok.3
字号:
.\" $Source: /usr/src/kerberosIV/man/RCS/kuserok.3,v $.\" $Author: kfall $.\" $Header: /usr/src/kerberosIV/man/RCS/kuserok.3,v 4.2 90/06/25 21:12:39 kfall Exp $.\" Copyright 1989 by the Massachusetts Institute of Technology..\".\" For copying and distribution information,.\" please see the file <mit-copyright.h>..\".TH KUSEROK 3 "Kerberos Version 4.0" "MIT Project Athena".SH NAMEkuserok \- Kerberos version of ruserok.SH SYNOPSIS.nf.nj.ft B#include <kerberosIV/krb.h>.PP.ft Bkuserok(kdata, localuser)AUTH_DAT *auth_data;char *localuser;.fi.ft R.SH DESCRIPTION.I kuserokdetermines whether a Kerberos principal described by the structure.I auth_datais authorized to login as user.I localuseraccording to the authorization file("~\fIlocaluser\fR/.klogin" by default). It returns 0 (zero) if authorized,1 (one) if not authorized..PPIf there is no account for .I localuseron the local machine, authorization is not granted.If there is no authorization file, and the Kerberos principal describedby .I auth_datatranslates to .I localuser(using .IR krb_kntoln (3)),authorization is granted.If the authorization filecan't be accessed, or the file is not owned by.IR localuser,authorization is denied. Otherwise, the file is searched fora matching principal name, instance, and realm. If a match is found,authorization is granted, else authorization is denied..PPThe file entries are in the format:.nf.in +5n name.instance@realm.in -5n.fiwith one entry per line..SH SEE ALSOkerberos(3), ruserok(3), krb_kntoln(3).SH FILES.TP 20n~\fIlocaluser\fR/.kloginauthorization list
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -