projects
/
mirror
/
dsa-wiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1e3986f
)
Update add-guest instructions
author
Faidon Liambotis
<paravoid@debian.org>
Sat, 8 Oct 2011 18:49:02 +0000
(21:49 +0300)
committer
Faidon Liambotis
<paravoid@debian.org>
Sat, 8 Oct 2011 18:49:02 +0000
(21:49 +0300)
input/howto/add-guest.creole
patch
|
blob
|
history
diff --git
a/input/howto/add-guest.creole
b/input/howto/add-guest.creole
index
43b6687
..
a569844
100644
(file)
--- a/
input/howto/add-guest.creole
+++ b/
input/howto/add-guest.creole
@@
-25,19
+25,9
@@
or whereever you keep the checkout. Then
Once that is done, to to db-master (aka draghi) and add the account:
{{{
Once that is done, to to db-master (aka draghi) and add the account:
{{{
- ud-useradd -
n
+ ud-useradd -
g
}}}
}}}
+* note the -g, this is for guest accounts (doesn't prompt for -private etc.)
* enter fingerprint, account name, [fml] name and forwarding address.
* enter fingerprint, account name, [fml] name and forwarding address.
-* do _not_ subscribe to -private (enter a space character)
-* keep uid number
-* use 60000 as gid number
-
-Then set an expire date for the user:
-{{{
- echo -n "userid of new user: " &&
- read uid &&
- ldapvi --encoding=ASCII -ZZ --ldap-conf -h db.debian.org -D uid=$USER,ou=users,dc=debian,dc=org "uid=$uid"
-}}}
-
-and set {{{shadowExpire}}} to today + 60 days ( {{{echo $(( `date +%s` / 3600 / 24 + 60 ))}}} ).
+* enter expiry date and hosts to allow access to, per the request.