How to log into cmsuaf from Wisconsin HEP computers

The directions from USCMS are here: http://uscms.org/SoftwareComputing/UserComputing/ConnectUAF.html. However, you need to follow additional directions.

The relevant issues with logging in

Recipe for actually logging in

  1. Get your kerberos ticket with the kinit command. The -A means it will be addressless, and the -f means it will be forwardable. If your Fermilab username ("kerberos principal") is different from your hep.wisc.edu username, you'll need to put that in the command, too. You might also need to append @FNAL.GOV to the end of your username, although I've found I don't have to.
    $ /usr/kerberos/bin/kinit -A -f [fnal_username]
    
    Enter your FNAL kerberos password at the prompt.
  2. Now you want to make sure you got a ticket and that it's addressless. The -a lists all the addresses (there shouldn't be any), and the -f lists all the flags.
    $ klist-krb5 -a -f
    
    Depending on whether you've already tried logging in, there will be one or more entries in the list. Each should have a Flags: field and an Addresses: field.
  3. Connect to a direct access node with ssh-krb5. Remember, the direct access nodes are cmswn0xx.fnal.gov where xx is 51 through 55. If your Fermilab username is different from your hep.wisc.edu username, you will need to use either the -l option or put your username and "@" in front of the computer you're logging into. Examples:
    $ ssh-krb5 cmslpc.fnal.gov
    
    $ ssh-krb5 -l joeschmoe cmslpc.fnal.gov
    
    $ ssh-krb5 joeschmoe@cmslpc.fnal.gov
    
    This will log you in. If after the welcome message you see a line like
    /usr/X11R6/bin/xauth:  timeout in locking authority file 
    /afs/fnal/files/home/room2/jleonard/.Xauthority
    
    this means that you don't have the correct permissions, and you won't be able to write to your home directory. (See the USCMS FAQ page, http://www.uscms.org/SoftwareComputing/UserComputing/FAQ.html.)

This is the process that I have found to work. Let me know if you think something's wrong. The USCMS page above ( http://uscms.org/SoftwareComputing/UserComputing/ConnectUAF.html) also has a lot of information. A recent e-mail from the USCMS computing people said they wanted to phase out the direct access nodes, but later I got confirmation that they'd keep them around for the people like us who can't log in any other way. We can now login using the head nodes.


Back to main page

Jessica Leonard, Sept. 15, 2006
Latest update: Apr. 10, 2008