Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Elijah Grubb
emulab-devel
Commits
054c4406
Commit
054c4406
authored
Jun 24, 2002
by
Robert Ricci
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add instructions for the 'firstuser' script.
parent
a877282f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
doc/setup-db.txt
doc/setup-db.txt
+8
-6
No files found.
doc/setup-db.txt
View file @
054c4406
...
...
@@ -20,16 +20,18 @@ mysql tbdb < sql/database-create.sql
##### Step 1 - Setup users
You'll need to start by creating an admin user. Currently, there is no
automated way to do this - the easiest thing to do is contact Utah and ask for
an example entry. We hope to remedy this problem before too long.
At this point, it's a good idea to get the nfs mounts between boss and ops
setup, as well at the ssh root keys. See the boss and ops setup documents for
details.
Run 'mkacct <username>' for the user you just created. This will set up a Unix
account for them on the boss and ops nodes.
Run the 'firstuser' script. This will get put in the utils subdirectory of your
boject tree. (Note: configure will not set the executable bit on the script, so
you'll need to set it yourself, or run 'perl firstuser'.) This script will let
you create the first user and project in the database. By default, it will grab
information about the account it's being run as (propably you,) or you can
supply a sername, an encrypted password string (grab it from a password file,)
etc. This script will also prompt you to create the first project - we suggest
you create an 'emulab-ops' project.
If you want to make sure that this account is a member of any Unix groups (such
as wheel,) run 'unixgroups -a <uid> <gid> ...'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment