<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-us" xml:lang="en-us"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="security" content="public" /> <meta name="Robots" content="index,follow" /> <meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' /> <meta name="DC.Type" content="task" /> <meta name="DC.Title" content="Create user principals on the Kerberos server" /> <meta name="DC.Relation" scheme="URI" content="rzakhscenpase.htm" /> <meta name="DC.Relation" scheme="URI" content="rzakhpascesenario_createhostrwindows.htm" /> <meta name="DC.Relation" scheme="URI" content="rzakhpascesenario_addiseries-aprincipal.htm" /> <meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" /> <meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" /> <meta name="DC.Format" content="XHTML" /> <meta name="DC.Identifier" content="rzakhpascesenario_createuserprincipals" /> <meta name="DC.Language" content="en-us" /> <!-- All rights reserved. Licensed Materials Property of IBM --> <!-- US Government Users Restricted Rights --> <!-- Use, duplication or disclosure restricted by --> <!-- GSA ADP Schedule Contract with IBM Corp. --> <link rel="stylesheet" type="text/css" href="./ibmdita.css" /> <link rel="stylesheet" type="text/css" href="./ic.css" /> <title>Create user principals on the Kerberos server</title> </head> <body id="rzakhpascesenario_createuserprincipals"><a name="rzakhpascesenario_createuserprincipals"><!-- --></a> <!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script> <h1 class="topictitle1">Create user principals on the Kerberos server</h1> <div><div class="section">or users to be authenticated to services in your network, you must add them to the Kerberos server as principals. A principal is the Kerberos term for a user name and password. These principals are stored on the Kerberos server and are used to validate users in the network. Complete the following steps:</div> <ol><li class="stepexpand"><span>In a character-based interface, type <tt>call QP2TERM</tt> at the command line.</span> This command opens an interactive shell environment that allows you to work with i5/OS™ PASE applications.</li> <li class="stepexpand"><span>At the command line, enter <tt>export PATH=$PATH:/usr/krb5/sbin</tt>.</span> This command points to the Kerberos scripts that are necessary to run the executable files.</li> <li class="stepexpand"><span>At the command line, enter <tt>kadmin -p admin/admin</tt>, and press Enter.</span></li> <li class="stepexpand"><span>Sign in with administrator's password. </span> For example, <kbd class="userinput">secret</kbd>.</li> <li class="stepexpand"><span>At the kadmin prompt, enter <tt>addprinc -pw 123day day</tt>. </span></li> </ol> <div class="section">After you complete these steps you will receive a message that reads:<pre>Principal "day@MYCO.COM" created.</pre> This creates the user principal for John Day.<p>Repeat these steps for Karen Jones, but specify <tt>jones</tt> for principal name and <tt>123jones</tt> for the password.</p> </div> </div> <div> <div class="familylinks"> <div class="parentlink"><strong>Parent topic:</strong> <a href="rzakhscenpase.htm" title="Understand the goals, objectives, prerequisites, and configuration steps for setting up your Kerberos server.">Scenario: Set up Kerberos server in i5/OS PASE</a></div> <div class="previouslink"><strong>Previous topic:</strong> <a href="rzakhpascesenario_createhostrwindows.htm">Create host principals for Windows 2000 and Windows XP workstations</a></div> <div class="nextlink"><strong>Next topic:</strong> <a href="rzakhpascesenario_addiseries-aprincipal.htm">Add iSeries A service principal to the Kerberos server</a></div> </div> </div> </body> </html>