Next, you can create your accounts (see Creating Accounts). Think of your accounts as bank accounts to which you can associate the users, projects and machines that can use them.
Example 4-2. We will create some accounts for use by the biology and chemistry projects.
$ gmkaccount -p biology -u MEMBERS -m MEMBERS -n "biology"
Successfully created Account 1
$ gmkaccount -p chemistry -u MEMBERS -m colony -n "chemistry on colony"
Successfully created Account 2
$ gmkaccount -p chemistry -u amy -n "chemistry for amy"
Successfully created Account 3
$ gmkaccount -p chemistry -u MEMBERS,-amy -n "chemistry not amy"
Successfully created Account 4
$ glsaccount
Id Name Amount Projects Users Machines Description --- ---------------------------- --------- ------------- ------------------ ------------ --------------------- 1 biology biology MEMBERS MEMBERS 2 chemistry on colony chemistry MEMBERS colony 3 chemistry for amy chemistry amy ANY 4 chemistry not amy chemistry MEMBERS,-amy ANY
So what we have here is: 1) a single account for biology available to all of its defined members and able to be used only on the blue machine (since blue is its only member machine) 2) an account usable toward the chemistry project on the colony machine only 3) an account usable anywhere for chemistry by amy only 4) an account usable anywhere for chemistry by any member except for amy