| Strong Auth Index Page | Presentation Outline
|
||||||
Computing in a Kerberized Environment
Authenticate at your Windows Desktop
WRQ®
Navigate to Start > Programs > Reflection > Utilities > Kerberos Manager to open the Reflection Kerberos Managerapplication. With your principal tab selected, click Authenticate .
On the Authenticate window, make sure "Forwardable" is checked, click OK , and provide your Kerberos password at the prompt.
Back on the Kerberos Manager window, you should see the new ticket krbtgt/FNAL.GOV@FNAL.GOV.
Right-click on ticket to see ticket properties.
Once you run Reflection Kerberos Manager and authenticate, you do not need to keep the application active; you can exit and continue to log in to Kerberized machines. The authentication is valid for the lifetime of the ticket.
Kerberized Exceed 7
Using the Leash32 utility, navigate to Start > Programs > Kerberos Utilities > Leash32 . Select Get Ticket on the Action menu.
You will be required to enter your Kerberos password. Ignore the CRYPTOCard prompt that may follow (press Cancel ). You ticket will appear in the Leash32 window. Click on the Windows Explorer-style plus signs (+) to see ticket details.
Using the command prompt:
- Type kinit -5 to request a ticket.
- You will be required to enter your Kerberos password. Ignore the CRYPTOCard prompt that may follow (just press Enter ).
- To verify the ticket and its flags type klist -f at the command prompt.
Cygwin
Type kinit to request a ticket.
Accessing FNALU or other Remote Kerberized Nodes
List of Access Methods
- Kerberized versions of ssh , telnet and ftp .
- CRYPTOCard from nonKerberized machine via standard ssh , telnet , ftp .
Method 1: Log in using a Kerberized connection program
Run a WRQ® telnet Session to Kerberized Host
- First create and save a separate telnet configuration for target host which specifies Forward ticket.
- Authenticate to Kerberos on your desktop machine to get ticket.
- Navigate to Start > Programs > Reflection > Host - UNIX and Digital.
- On the Reflection for UNIX and Digital window, select File > Open .
- Double click on the file in your Reflection folder corresponding to the host to which you want to connect. It will bring up a VT window and log you in. You have credentials on the host (including AFS token if needed).
Best to make a shortcut to the file in the Reflection folder!
Run a WRQ® ftp Session to Kerberized Host
WRQ® Reflection FTP does not forward ticket or AFS token to remote host. For transferring files to AFS space, you may want to configure the FTP client with standard security and use a CRYPTOCard, or bypass FTP entirely and install the Windows AFS client on your machine for file transfers. See below.
Using WRQ® Reflection FTP:
- First create and savea separate ftp configuration for target host.
- Authenticate to Kerberos on your desktop machine to get ticket.
- Navigate to Start > Programs > Reflection > FTP Client.
- Double click on the file corresponding to the host to which you want to connect.
Run an Exceed 7 telnet Session to Kerberized Host
- First create and save a telnet configuration for target host.
- Authenticate to Kerberos on your desktop machine to get ticket.
- Navigate to Start > Programs > Hummingbird Connectivity V7.0 > HostExplorer > Telnet .
- On the Open Session window, select desired profile
- Click on the Connect button.
Best to make a shortcut!
Run Windows AFS Client for transferring files to AFS space
See Chapter 20: Installing and Configuring the Windows AFS Client of the manual for installation instructions and section 4.8 Windows AFS Client for File Transfers to AFS Space for user instructions. You will use your AFS password to authenticate to AFS.)
Method 2: Connecting from a NonKerberized Machine: Portal Mode
In portal mode, the remote Kerberized machine requires a single-use password for authentication. You need to use a calculator-style, battery-powered device called a CRYPTOCard to generate the password.
![]()
- No special hardware or software is required on the nonKerberized machine for CRYPTOCard use.
- Login name and principal must match.
- Authenticating with CRYPTOCard gets you Kerberos ticket and AFS token the same as authenticating with Kerberos password.
Obtaining and preparing your CRYPTOCard
Request a CRYPTOCard on the same form used for requesting a Kerberos Principal, Form to Request Kerberos Principal and/or Related Items at http://www.fnal.gov/cd/forms/strongauth.html.
When you get your CRYPTOCard, read about how to use it and care for it in sections 5.2 Caring for your CRYPTOCard, 5.3 Usage Notes and 5.4 The First Thing to do: Reset your PIN. You must reset the PIN before you use it.
To resynchronize your CRYPTOCard with the KDC, see section 5.8 Resync your CRYPTOCard.
Programs for Initiating CRYPTOCard Login
From a Windows desktop, use one of the following nonKerberized programs:
ssh telnet ftpThe remote host prompts you for your login id. It must be the same as your UNIX realm principal.
Ssh Notes:
- If you need to install a Windows ssh client, go to http://www.openssh.org/.
- For ssh, don't give a command argument!
- The current ssh service will prompt you for an ssh password before the CRYPTOCard prompt. At the ssh password prompt, type no characters, just press Return.
Using your CRYPTOCard
The CRYPTOCard prompt looks like this:
Press ENTER and compare this challenge to the one on your display: [12345678] Enter the displayed response:Generate a response on your CRYPTOCard, and type it at the terminal keyboard. Full instructions can be found in sections 5.5 Log in Using CRYPTOCard (the First Time) and 5.6 Log in Using CRYPTOCard (Subsequently).
To reathenticate without restarting your session, use the command new-portal-ticket; you will need to use your CRYPTOCard to generate a response.
Summary of the Login Steps with CRYPTOCard
These instructions are for the old-style cards. For new-style cards, see section 5.6.2 New Style Card (March 2002) under section 5.6 Log in Using CRYPTOCard (Subsequently).
ON , [PIN], ENT , ENT to get challenge string.
Run connection program, and enter your username/principal at prompt. Compare challenges on terminal and CRYPTOCard.
If challenges match, press ENT to generate response to challenge.
Type CRYPTOCard response.
(optional) OFF
The first time you use your CRYPTOCard, and any time it gets unsynchronized with the KDC, you will need to type the challenge into the card. (At step 3, if challenges don't match, press CH/MAC , and enter the challenge displayed at the terminal into the card. Continue from step 3.)
Change your initial Kerberos Password on UNIX Strengthened Realm FNAL.GOV
A Kerberos password must contain a minimum of ten characters from at least two of the following five classes: lowercase letters, uppercase letters, numbers, punctuation, and all other characters. Root passwords must contain a minimum of 11 characters including at least three of the five classes.
WRQ® Reflection
- (If you run W2K or NT4, and installed WRQ® using the automated script, skip this first step.) First update the Windows services file by executing \\Pckits\WRQ\services.bat . For Win95 or 98, you must copy it manually from \\Pckits\WRQ\ (target directory may vary).
- Navigate to Start > Programs > Reflection > Utilities > Kerberos Manager to open the Reflection Kerberos Manager application.
- From the Tools menu select Change Password... and change it.
Cygwin (like UNIX/Linux)
To change your password, run the kpasswd command.
% kpasswd [<principal_name>]kpasswd: Changing password for aheavey@FNAL.GOV. Old password: <--- type your initial password here. kpasswd: aheavey@FNAL.GOV's password is controlled by the policy default, which requires a minimum of 10 characters from at least 2 classes (the five classes are lowercase, uppercase, numbers, punctuation, and all other characters). New password: <--- type your new password here. New password (again): <--- type your new password here for confirmation. Kerberos password changed.MIT Kerberos with Exceed 7.0
The Change Password utility in Leash32 does not work, and kpasswd in the Command Prompt works for AFS password.
Consequently, changing your password under this configuration requires typing your password over a network connection. Try to find a machine on which you can do it locally, instead. Only use this as a last resort.
- To change your Kerberos password, make your connection to your UNIX host using a telnet profile with Kerberos enabled.
- Verify that encryption is set.
- Run the kpasswd command on the remote host to change your Kerberos password, as described for Cygwin, above.
Change your initial Kerberos Password on W2K Strengthened Realm FERMI.WIN.FNAL.GOV
We recommend that you keep your W2K domain password synchronized with your FNAL.GOV realm password. However, please choose ALL OTHER passwords to be different from this. NO OTHER PASSWORD ON ANY SYSTEM OR FOR ANY APPLICATION SHOULD BE THE SAME AS YOUR KERBEROS PASSWORD!
On you Windows 2000 machine, press Ctrl-Alt-Delete and select Change Password.
|
|
|||||
| Strong Auth Index Page | Presentation Outline | |||||