BSD 4_4_Lite2 development
[unix-history] / usr / share / man / cat1 / kerberos.0
KERBEROS(1) BSD Reference Manual KERBEROS(1)
N\bNA\bAM\bME\bE
kerberos - introduction to the Kerberos system
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
The Kerberos system authenticates individual users in a
network environment. After authenticating yourself to
Kerberos, you can use network utilities such as _\br_\bl_\bo_\bg_\bi_\bn,
_\br_\bc_\bp, and _\br_\bs_\bh without having to present passwords to remote
hosts and without having to bother with _\b._\br_\bh_\bo_\bs_\bt_\bs files.
Note that these utilities will work without passwords only
if the remote machines you deal with support the Kerberos
system. All Athena timesharing machines and public work-
stations support Kerberos.
Before you can use Kerberos, you must register as an
Athena user, and you must make sure you have been added to
the Kerberos database. You can use the _\bk_\bi_\bn_\bi_\bt command to
find out. This command tries to log you into the Kerberos
system. _\bk_\bi_\bn_\bi_\bt will prompt you for a username and pass-
word. Enter your username and password. If the utility
lets you login without giving you a message, you have
already been registered.
If you enter your username and _\bk_\bi_\bn_\bi_\bt responds with this
message:
Principal unknown (kerberos)
you haven't been registered as a Kerberos user. See your
system administrator.
A Kerberos name contains three parts. The first is the
_\bp_\br_\bi_\bn_\bc_\bi_\bp_\ba_\bl _\bn_\ba_\bm_\be_\b, which is usually a user's or service's
name. The second is the _\bi_\bn_\bs_\bt_\ba_\bn_\bc_\be_\b, which in the case of a
user is usually null. Some users may have privileged
instances, however, such as ``root'' or ``admin''. In the
case of a service, the instance is the name of the machine
on which it runs; i.e. there can be an _\br_\bl_\bo_\bg_\bi_\bn service run-
ning on the machine ABC, which is different from the
rlogin service running on the machine XYZ. The third part
of a Kerberos name is the _\br_\be_\ba_\bl_\bm_\b. The realm corresponds to
the Kerberos service providing authentication for the
principal. For example, at MIT there is a Kerberos run-
ning at the Laboratory for Computer Science and one run-
ning at Project Athena.
When writing a Kerberos name, the principal name is sepa-
rated from the instance (if not null) by a period, and the
realm (if not the local realm) follows, preceded by an
``@'' sign. The following are examples of valid Kerberos
MIT Project Athena Kerberos Version 4.0 1
KERBEROS(1) BSD Reference Manual KERBEROS(1)
names:
billb
jis.admin
srz@lcs.mit.edu
treese.root@athena.mit.edu
When you authenticate yourself with Kerberos, through
either the workstation _\bt_\bo_\be_\bh_\bo_\bl_\bd system or the _\bk_\bi_\bn_\bi_\bt com-
mand, Kerberos gives you an initial Kerberos _\bt_\bi_\bc_\bk_\be_\bt. (A
Kerberos ticket is an encrypted protocol message that pro-
vides authentication.) Kerberos uses this ticket for net-
work utilities such as _\br_\bl_\bo_\bg_\bi_\bn and _\br_\bc_\bp. The ticket trans-
actions are done transparently, so you don't have to worry
about their management.
Note, however, that tickets expire. Privileged tickets,
such as root instance tickets, expire in a few minutes,
while tickets that carry more ordinary privileges may be
good for several hours or a day, depending on the instal-
lation's policy. If your login session extends beyond the
time limit, you will have to re-authenticate yourself to
Kerberos to get new tickets. Use the _\bk_\bi_\bn_\bi_\bt command to re-
authenticate yourself.
If you use the _\bk_\bi_\bn_\bi_\bt command to get your tickets, make
sure you use the _\bk_\bd_\be_\bs_\bt_\br_\bo_\by command to destroy your tickets
before you end your login session. You should probably
put the _\bk_\bd_\be_\bs_\bt_\br_\bo_\by command in your _\b._\bl_\bo_\bg_\bo_\bu_\bt file so that your
tickets will be destroyed automatically when you logout.
For more information about the _\bk_\bi_\bn_\bi_\bt and _\bk_\bd_\be_\bs_\bt_\br_\bo_\by com-
mands, see the _\bk_\bi_\bn_\bi_\bt_\b(_\b1_\b) and _\bk_\bd_\be_\bs_\bt_\br_\bo_\by_\b(_\b1_\b) manual pages.
Currently, Kerberos supports the following network ser-
vices: _\br_\bl_\bo_\bg_\bi_\bn, _\br_\bs_\bh, and _\br_\bc_\bp. Other services are being
worked on, such as the _\bp_\bo_\bp mail system and NFS (network
file system), but are not yet available.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
kdestroy(1), kinit(1), klist(1), kpasswd(1), des_crypt(3),
kerberos(3), kadmin(8)
B\bBU\bUG\bGS\bS
Kerberos will not do authentication forwarding. In other
words, if you use _\br_\bl_\bo_\bg_\bi_\bn to login to a remote host, you
cannot use Kerberos services from that host until you
authenticate yourself explicitly on that host. Although
you may need to authenticate yourself on the remote host,
be aware that when you do so, _\br_\bl_\bo_\bg_\bi_\bn sends your password
across the network in clear text.
MIT Project Athena Kerberos Version 4.0 2
KERBEROS(1) BSD Reference Manual KERBEROS(1)
A\bAU\bUT\bTH\bHO\bOR\bRS\bS
Steve Miller, MIT Project Athena/Digital Equipment Corpo-
ration
Clifford Neuman, MIT Project Athena
The following people helped out on various aspects of the
system:
Jeff Schiller designed and wrote the administration server
and its user interface, kadmin. He also wrote the dbm
version of the database management system.
Mark Colan developed the Kerberos versions of _\br_\bl_\bo_\bg_\bi_\bn, _\br_\bs_\bh,
and _\br_\bc_\bp, as well as contributing work on the servers.
John Ostlund developed the Kerberos versions of _\bp_\ba_\bs_\bs_\bw_\bd and
_\bu_\bs_\be_\br_\br_\be_\bg.
Stan Zanarotti pioneered Kerberos in a foreign realm
(LCS), and made many contributions based on that experi-
ence.
Many people contributed code and/or useful ideas, includ-
ing Jim Aspnes, Bob Baldwin, John Barba, Richard Basch,
Jim Bloom, Bill Bryant, Rob French, Dan Geer, David
Jedlinsky, John Kohl, John Kubiatowicz, Bob McKie, Brian
Murphy, Ken Raeburn, Chris Reed, Jon Rochlis, Mike
Shanzer, Bill Sommerfeld, Jennifer Steiner, Ted Ts'o, and
Win Treese.
R\bRE\bES\bST\bTR\bRI\bIC\bCT\bTI\bIO\bON\bNS\bS
COPYRIGHT 1985,1986 Massachusetts Institute of Technology
MIT Project Athena Kerberos Version 4.0 3