p_addmember



NAME

      project addmember - add a new member to a project


SYNOPSIS

      project addmember [-f] [-w] [project ] [userid ] [user_name]
      [user_working_directory]


DESCRIPTION

      The project addmember command adds a new member to a project. To add a
      new member to a project means:

      Create a user's working directory in the project under members directory.
           The working directory has userid name. If another directory is
           defined as a user directory, than create a link from member
           directory to the working directory.

      Create a startup file in the working directory. The user may modify this
           file. The startup file may include some definitions (aliases and
           environment variables which the user can use when working in the
           project. This file is executed when the user sets up the project.

    PARAMETERS
      project
           Name of the project where the new member will be defined.

      userid
           User identity of new member.

      user_name User full name. The default value is taken from /etc/passwd
      file.

      user_working_directory
           The user's working directory in the project. The default value is
           the directory named userid and placed under the members
           directory.

    OPTIONS
      -f   Execute the command directly.

      -w   Create a common work directory instead of a private member's
           directory. The directory created is treated as a member, which
           means that the commands project set -u dir, or project delmemer
           may be used in the same way as for any project member.


EXAMPLES

      $ project addmember
      Project name : ex_proj
      Member id : jhellstr
      Member name [First name and last name]
                  (default=Jan Hellstrand,AUT/KMS,9241) :
      Member work directory (default= /aut/km/ex_proj/members/jhellstr) :
      Project name          : ex_proj
      Member id             : jhellstr
      New member            : Jan Hellstrand,AUT/KMS,9241
      Member work directory : /aut/km/ex_proj/members/jhellstr

      Are data correct[y/n/q] (default=y) : y
      Member work directory  /aut/km/ex_proj/members/jhellstr is created
      File  /aut/km/ex_proj/members/jhellstr/startup is created


FILES

      /ipa/projects/project/members/userid/startup


DIRECTORIES

      /ipa/projects/project/members


SEE ALSO

      p_create(1), p_delmember(1)


EXTERNAL INFLUENCES

      Environment variable SDE_PROJECT defines the default project name.


AUTHOR

      Ivica Crnkovic