aklog-kafs - Man Page

AFS Kerberos authentication tool

Synopsis

aklog-kafs [-dhkV] [<cell> [<realm>]]

Description

This program is used to get an authentication ticket from Kerberos that can be used by the in-kernel AFS filesystem (kAFS) to perform authenticated and encrypted accesses to the an AFS cell.  Without this only unencrypted anonymous accesses can be made.

Before calling this, the kinit program or similar should be invoked to authenticate with the appropriate Kerberos server.

Arguments

<cell>

This is the name of the cell with which the ticket is intended to be used.  If not given, the name of the default cell will be read from ​/proc/net/afs/rootcell and used instead.

The root cell can be set in the /etc/kafs/client configuration file by setting the thiscell in the [defaults] section.  If the value of thiscell is changed in the configuration file than ​kafs-preload needs to be run to refresh the value in the ​/proc/net/afs/rootcell file.

<realm>

This is the name of the Kerberos realm from which the ticket will be obtained.

Options

-h

Display help text and exit.

-d

Display processing messages.  Specifying -d more than once increases the verbosity of the messages.

-k

Manually specify keyring to add AFS key into.  Otherwise, a session keyring will be used first if found before automatically switching to the uid-session keyring.

Valid values are:

​         session
​         uid-session
-V

Show version and exit.

Example

​      # aklog-kafs -d
​      Default cell from /proc/net/afs/rootcell: ca-zephyr.org
​      Realm: CA-ZEPHYR.ORG
​      CELL ca-zephyr.org
​      PRINC afs/ca-zephyr.org@CA-ZEPHYR.ORG
​      successfully added key: 44095043 to session keyring

See Also

kinit(1), keyctl (1), kafs-preload (8), kafs-client.conf(5)

Referenced By

kafs(7), kafs-client.conf(5), kafs-preload(8), pam_afs_session(5).

The man page aklog(1) is an alias of aklog-kafs(1).

2026-08-27 0.9 kafs-client