|
|
Some notes on the computing environmentAdding grid tools to the environmentThe first time you log in, you need to run the command /info/grid03/course-init, which will do some KTH-specific things in your environment that in effect
After you have run this command, please logout and log in again to ensure that the changes make an effect. Acquiring grid credentialsThe command /info/grid03/get-creds will acquire pre-issued grid credentials for you and install them properly in your home directory. In real life, you would have to run the command grid-cert-request and follow the instructions (which means, among other things, sending a request file to the Certification Authority, CA). The files to remember are:
NOTE: you need to have your pass-phrase for your grid credentials ready at hand, as the program will ask you to change the pass phrase. The pass-phrase will be handed out to you. A word on KerberosWe use Kerberos for local and remote authentication. If you do not have Kerberos clients on your local machine, we distribute what we call the Kerberos Travelkit , that should be installed in your local machine prior to logging in to NADA/PDC. We do not run ssh, which you may have encountered in other computing environments. Instead we run a kerberized telnet that uses a so-called ticket to authenticate to the remote system. Various applications can then in turn make use of the ticket to authenticate as you when needed. Acquring a Kerberos ticketThe Kerberos ticket is acquired in a secure way on the local machine (usually via the command kinit or kauth, depending on implementation) before a connection to the remote system is opened. kinit <username>@NADA.KTH.SE will create the ticket on your local machine. <username> is your account name at NADA/PDC. Note that the "domain" name should always be NADA.KTH.SE, even if you plan to connect to a pdc.kth.se host. The ticket is time-stamped and only valid for a certain period (usually 12 or 24 hours). An option -l <time> (lowercase L) can be given to the kinit command that specifies a non-default lifetime of the ticket (up to a week). The argument <time> can either be an integer (seconds), or a more human readable string like 1h for one hour or 3d for three days. Logging in from a remote machinetelnet -l <username> computer.pdc.kth.se As a security measure, a ticket is bound to the machine it was created on, so it is not possible to use them on any other machine. As your home directory is mounted on AFS, which in turn uses Kerberos to validate a user's access rights, a ticket MUST be created after you have logged in, otherwise you will only be able to read the publicly accessible files in your home directory. The -l <username> option is necessary if your user name at NADA/PDC is different from the user name that you currently run as on your local host. Additional informationSee http://www.pdc.kth.se/support/kerberos5-tour.html for additional details. For pointers to background information, see http://www.pdc.kth.se/support/tours.html. $Author: mulmo $, $Date: 2003/08/18 10:34:46 $ |