Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
7da0c331
Unverified
Commit
7da0c331
authored
5 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
keep a TL;DR: for when we know what we're doing
parent
8d6c4886
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tsa/howto/create-a-new-user.mdwn
+17
-0
17 additions, 0 deletions
tsa/howto/create-a-new-user.mdwn
with
17 additions
and
0 deletions
tsa/howto/create-a-new-user.mdwn
+
17
−
0
View file @
7da0c331
...
...
@@ -24,6 +24,21 @@ role account (see below).
To create a new user, specific information need to be provided by the
requestee, as detailed in [[doc/accounts]].
The short version is:
# THIS KEY SHOULD BE CHECKED, SEE BELOW FOR DETAILS
FINGERPRINT=0123456789ABCDEF0123456789ABCDEF01234567 &&
USER=alice &&
gpg --export-options export-minimal --no-armor --export "$FINGERPRINT" > "${USER}-${FINGERPRINT}.gpg" &&
git add "${USER}-${FINGERPRINT}.gpg" &&
git commit -m"new user ${USER} requested by foo" &&
git push &&
git push alberti &&
ssh -tt alberti.torproject.org "ud-useradd -n && sudo -u sshdist ud-generate && sudo -H ud-replicate" &&
ssh -tt eugeni.torproject.org "sudo -H ud-replicate && egrep -q "${USER}@torproject.org" /etc/postfix/debian || echo "new user missing, please fix" && sudo puppet agent -t
See below for detailed instructions.
## on your own machine
For example, your laptop.
...
...
@@ -39,6 +54,8 @@ For example, your laptop.
FINGERPRINT=0123456789ABCDEF0123456789ABCDEF01234567
USER=alice
gpg --export-options export-minimal --no-armor --export "$FINGERPRINT" > "${USER}-${FINGERPRINT}.gpg"
git add "${USER}-${FINGERPRINT}.gpg"
git commit -m"new user ${USER} requested by foo"
3. push to both repositories:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment