ESD Software Engineering


How to Add User Access to the CDDEV Account

The cddev account is available on AFS tailored machines as well as on the NFS gateway machines (opi00gtw0x) . This page describes how to obtain access to this shared account.

AFS Shared Account Access

  • Log into your afs account and issue the following command. Responds to all prompts with a return <CR>.
  • ssh-keygen -t rsa1
    Generating public/private rsa key pair.
    Enter file in which to save the key (/u/cd/zelazny/.ssh/
    Enter passphrase (empty for no passphrase):
    Enter same passphrase again:
    Your identification has been saved in /u/cd/zelazny/.ssh/
    Your public key has been saved in /u/cd/zelazny/.ssh/
  • Request that the owner of the cddev account do the  following:
  • 1.  Add  the new uses' "ssh-key"  to  the authorized key as follows:
     cat ~user_name/.ssh/ >> ~cddev/.ssh/authorized_keys

     Note:  This leaves cddev as the owner of authorized_keys but with changed contents. Also, the authorized_keys file will work only if it is owned by cddev.  To determine the owner of an AFS "password-less" account use the unix command
    $ ypmatch cddev passwd

    2.  Adds the new user to the cddev:cddev AFS group as follows:
    pts adduser -user user_name -group cddev:cddev

    3.  If the new user needs to run cron jobs under cddev and wants to receive email about problems with the jobs, adds the email address of the new user to ~cddev/.forward

  • To find outthe members in the cddev NIS group use the following unix command
  • $ ypmatch cddev group
  • Done. The user can now log into the cddev account using ssh
  • NFS Account Access

    A password is required for access to the cddev account on the gateway machines (opi00gtw0x) . For details contact Stephanie Allison or Kristi Luchini for details.

    ESD Software Engineering | SLAC Computing | SLAC Detailed Home
    PEPII Controls | NLC Dev Control
    Author: Stephanie Allison
    Contact:  Kristi Luchini
    Last Modied:  Friday, December 6, 2002