kuserok man page on 4.4BSD

Man page or keyword search:  
man Server   1065 pages
apropos Keyword Search (all sections)
Output format
4.4BSD logo
[printable version]

KUSEROK(3)							    KUSEROK(3)

       kuserok - Kerberos version of ruserok

       #include <kerberosIV/krb.h>

       kuserok(kdata, localuser)
       AUTH_DAT *auth_data;
       char   *localuser;

       kuserok determines whether a Kerberos principal described by the struc‐
       ture auth_data is authorized to login as user  localuser	 according  to
       the authorization file ("~localuser/.klogin" by default).  It returns 0
       (zero) if authorized, 1 (one) if not authorized.

       If there is no account for localuser on the local  machine,  authoriza‐
       tion  is	 not granted.  If there is no authorization file, and the Ker‐
       beros principal described by auth_data translates to  localuser	(using
       krb_kntoln(3)),	authorization  is  granted.  If the authorization file
       can't be accessed, or the file is not owned by localuser, authorization
       is  denied.   Otherwise,	 the file is searched for a matching principal
       name, instance, and realm.  If  a  match	 is  found,  authorization  is
       granted, else authorization is denied.

       The file entries are in the format:
       with one entry per line.

       kerberos(3), ruserok(3), krb_kntoln(3)

       ~localuser/.klogin  authorization list

MIT Project Athena	     Kerberos Version 4.0		    KUSEROK(3)

List of man pages available for 4.4BSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net