Grid atoms


hasGlobusAccess (DN,localusername)
hasGlobusAccess tests whether distinguished name DN is mapped to local username localusername in the standard globus grid-map file.

globusAccess (DN,localusername[,position])
globusAccess is the same as hasGlobusAccess except that it adds the DN to the grid-mapfile if it's not already there. The position argument can be first or last to specify if the DN is added to the beginning or end of the grid-mapfile.

hasSshAccess (username,public_key)
hasSshAccess tests whether username has access to the installation computer using the public key public_key.

sshAccess (username,public_key)
sshAccess is the same as hasSshAccess except that if the condition is not satisfied, Pacman will add the public_key to the authorized keys file of the user username.

username (username), userExists (username[,group]), groupExists (group), userAdd (username[,group[,shell[,homedir]]]]), groupAdd (group)
username requires that the installer be a specific username. userExists requires that a user username exists on the installing system. The group can also optionally be specified. userAdd adds a user to the system if necessary with username, group, shell and home directory as indicated. For examples
username('root')                                        # requires that only root may install the package
userExists('youssef')                                   # requires that a username youssef exists
userAdd('youssef','physics','/bin/csh','/home/youssef') # creates a user youssef if necessary
If the installer doesn't have priviledge to perform these operations, Pacman will provide sensible error messages.

Pacman Headquarters