OnWorks favicon

kgetcred - Online in the Cloud

Run kgetcred in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command kgetcred that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



kgetcred — get a ticket for a particular service


kgetcred [--canonicalize] [--canonical] [-c -cache | --cache=cache] [-e enctype |
--enctype=enctype] [--debug] [-H | --hostbased] [--name-type=name-type]
[--no-transit-check] [--no-store] [--cached-only] [--version] [--help] principal
kgetcred [options] --hostbased principal
kgetcred [options] --hostbased service hostname [extra-components]


kgetcred obtains a ticket for the given service principal. Usually tickets for services are
obtained automatically when needed but sometimes for some odd reason you want to obtain a
particular ticket or of a special type.

If --hostbased is given then the given service principal name will be canonicalized (see

The third form constructs a host-based principal from the given service name and hostname.
The service name "host" is used if the given service name in the third usage is the empty

For host-based names, the local host's hostname is used if the given hostname is the empty
string or if the principal has a single component.

Any additional components will be included, even for host-based service principal names, but
there are no defaults nor local canonicalization rules for additional components.

Local name canonicalization rules are applied unless the --canonical option is given.
Currently local name canonicalization rules are supported only for host-based principal
names' hostname component.

The principal's realm name may be canonicalized by following Kerberos referrals from the
client principal's home realm if the --canonicalize option is given or if the local name
canonicalization rules are configured to use referrals.

Supported options:

requests that the KDC canonicalize the principal. Currently this only canonicalizes
the realm by chasing referrals from the user's start realm, but in the future this
may also enable the KDC to canonicalize the complete principal name.

turns off local canonicalization of the principal name.

the name-type to use when parsing the principal name.

is short for --name-type=srv_hst.

-c cache, --cache=cache
the credential cache to use.

the credential cache to use for delegation.

-e enctype, --enctype=enctype
encryption type to use.

requests that the KDC doesn't do transit checking.

do not store tickets in the ccache.

do not talk the TGS, search only the ccache.


enables debug output to stderr.



If the --canonical option is used, then no further canonicalization should be done locally
by the client (for example, DNS), but if --canonicalize is used, then the client will ask
that the KDC canonicalize the name.

If the --canonicalize option is used with --hostbased a host-based name-type, and
--canonical is not used, then the hostname will be canonicalized according to the name
canonicalization rules in krb5.conf.

GSS-API initiator applications with host-based services will get the same behavior as using
the --canonicalize --hostbased options here.

Use kgetcred online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Download libusb
  • 2
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    Download SWIG
  • 3
    WooCommerce Nextjs React Theme
    WooCommerce Nextjs React Theme
    React WooCommerce theme, built with
    Next JS, Webpack, Babel, Node, and
    Express, using GraphQL and Apollo
    Client. WooCommerce Store in React(
    contains: Products...
    Download WooCommerce Nextjs React Theme
  • 4
    Package repo for ArchLabs This is an
    application that can also be fetched
    It has been hosted in OnWorks in...
    Download archlabs_repo
  • 5
    Zephyr Project
    Zephyr Project
    The Zephyr Project is a new generation
    real-time operating system (RTOS) that
    supports multiple hardware
    architectures. It is based on a
    small-footprint kernel...
    Download Zephyr Project
  • 6
    SCons is a software construction tool
    that is a superior alternative to the
    classic "Make" build tool that
    we all know and love. SCons is
    implemented a...
    Download SCons
  • More »

Linux commands