Changes between Version 31 and Version 32 of FeddCommands
- Timestamp:
- Jun 11, 2014 4:22:24 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FeddCommands
v31 v32 8 8 [FeddCommands#CommandLine command line interface]. 9 9 10 === Fedd.py ===10 === fedd.py === 11 11 12 12 The main federation daemon; when this documentation refers to `fedd` is is the `fedd.py` executable that is running. It can run on any host as any user, provided permissions and keys are correct. Most of `fedd`'s behavior is controlled by its [FeddConfig configuration files] and [FeddDatabases databases], there are a few command line arguments. … … 19 19 Redirect log output to ''filename'' rather than the default standard output 20 20 21 === Confirm_sshkey.py === 22 23 The `confirm_sshkey.py` command is used by `fedd` to confirm that a local account can be accessed using an SSH public key. It does this by accessing the Emulab database, and must run on `boss`. It is included in the distribution for administrators who want to be able to confirm keys without patching `addpubkey`. 24 25 The command takes the same arguments as the extended version of `addpubkey`, which is to say the same arguments as the unextended `addpubkey` plus '''-C'''. Other than installing it and adjusting the '''confirmkey''' parameter in the [allocation] section of the [FeddConfig#AllocationOptions configuration file] users should rarely need this command. By default the fedd package `confirm_sshkey.py` in `/usr/local/bin`. 26 27 === Exp_access_db.py === 21 22 === exp_access_db.py === 28 23 29 24 The `exp_access_db.py` command is a helper to generate [FeddDatabases#ExperimentControlComponentAccessDB experiment control component access databases]. It can be run on `boss` to print data in that database's format that can be redirected into a file for use as a database. With no options it converts the entire users table of the database into an experiment control access database with an entry for each local project of which the user is a member. The [FeddAbout#GlobalIdentifiers:Fedids fedid's] are generated from the user's SSL certificates as they appear in the Emulab database. … … 68 63 69 64 70 === Fedid.py ===65 === fedid.py === 71 66 72 67 The `fedid.py` command prints the [Feddabout#Globalidentifiers:Fedids fedid] of the public key of an X.509 certificate to the standard output. This is handy in getting fedids for the various [FeddDatabases databases] that `fedd` uses. The command is invoked with 0 or more '''--attribute='''''attr'' parameters and 0 or more filenames. The command prints the fedids and the attributes in the format of a [FeddDatabases#GlobalAccessDB global access database] and can be used directly to construct those files. For example, this invocation: … … 83 78 }}} 84 79 85 === User_to_project.py ===86 87 The `user_to_project.py` command exists to provide command line functionality that Emulab keeps in a web page. It attaches a user to a project. It is called by a `fedd` running on `boss` when a project is dynamically created. Its default installation destination and the default value for the [experiment_control] parameter '''user_to_project''' both default to `/usr/local/bin/user_to_project.py`. It is unlikely a user will ever need to run this command.88 80 89 81 === ABAC Utilities ===