瀏覽代碼

Add users via the control panel

Bob Mottram 9 年之前
父節點
當前提交
c40de1dda6
共有 2 個檔案被更改,包括 26 行新增22 行删除
  1. 12
    10
      doc/EN/faq.org
  2. 14
    12
      website/EN/faq.html

+ 12
- 10
doc/EN/faq.org 查看文件

@@ -40,27 +40,29 @@ It was originally designed to run on the Beaglebone Black, but that should be re
40 40
 
41 41
 /Out of fashion/ but still working computer hardware tends to be cheap and readily available, yet still good for providing internet services.
42 42
 * Can I add more users to the system?
43
-Yes. Freedombone can support a small number of users, for a "/friends and family/" type of home installation. This gives them access to an email account, XMPP, SIP phone and the blog (depending on whether the variant which you installed includes those). To add a user login as root then run the command:
43
+Yes. Freedombone can support a small number of users, for a "/friends and family/" type of home installation. This gives them access to an email account, XMPP, SIP phone and the blog (depending on whether the variant which you installed includes those).
44 44
 
45 45
 #+BEGIN_SRC bash
46
-freedombone-adduser [username]
46
+ssh username@mydomainname -p 2222
47
+su
48
+control
47 49
 #+END_SRC
48 50
 
49
-Or optionally with an /ssh public key/, given either as a filename or directly pasted. Specifying an ssh key will allow the user to log in more securely if they wish to use the Mutt email client.
50
-
51
-#+BEGIN_SRC bash
52
-freedombone-adduser [username] [ssh public key]
53
-#+END_SRC
51
+Select /Manage Users/ and then /Add a user/. You will be prompted for a username and you can also optionally provide their ssh public key.
54 52
 
55 53
 Something to consider when having more than a single user on the system is the security situation. The original administrator user will have access to all of the data for other users (including their encryption keys), so if you do add extra users they need to have *complete trust* in the administrator.
56 54
 
57 55
 Another point is that Freedombone installations are not intended to support many users (maybe ten at most). Large numbers of users may make the system unstable, and the more users you have on one system the more it becomes a single point of failure and also perhaps a honeypot from the standpoint of adversaries. Think of what happened with Lavabit and the moral dilemma which an administrator can be faced with (comply with threats and betray the trust of your users or don't comply and suffer other consequences). Ideally, you never want to put yourself into a situation where you can be forced to betray others.
58 56
 * How do I remove a user from the system?
59
-To remove a user login as root then run the command:
57
+To remove a user:
60 58
 
61 59
 #+BEGIN_SRC bash
62
-freedombone-rmuser [username]
60
+ssh username@mydomainname -p 2222
61
+su
62
+control
63 63
 #+END_SRC
64
+
65
+Select /Manage Users/ and then /Delete a user/. Note that this will delete all of that user's files and email.
64 66
 * How do I reset the tripwire?
65 67
 The tripwire will be automatically reset once per week. If you want to reset it earlier then do the following:
66 68
 
@@ -80,7 +82,7 @@ su
80 82
 control
81 83
 #+END_SRC
82 84
 
83
-Select /Email Filtering Rules/ then you can add rules to be applied to incoming email addresses or mailing lists. If you prefer to do things directly on the command line, without the control panel, then the following commands are available: 
85
+Select /Email Filtering Rules/ then you can add rules to be applied to incoming email addresses or mailing lists. If you prefer to do things directly on the command line, without the control panel, then the following commands are available:
84 86
 
85 87
 | freedombone-addlist  | Adds a mailing list                                                  |
86 88
 | freedombone-rmlist   | Removes a mailing list                                               |

+ 14
- 12
website/EN/faq.html 查看文件

@@ -4,7 +4,7 @@
4 4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5 5
 <head>
6 6
 <title></title>
7
-<!-- 2015-11-03 Tue 19:54 -->
7
+<!-- 2015-11-03 Tue 20:01 -->
8 8
 <meta  http-equiv="Content-Type" content="text/html;charset=utf-8" />
9 9
 <meta  name="generator" content="Org-mode" />
10 10
 <meta  name="author" content="Bob Mottram" />
@@ -277,25 +277,21 @@ It was originally designed to run on the Beaglebone Black, but that should be re
277 277
 <h2 id="orgheadline4">Can I add more users to the system?</h2>
278 278
 <div class="outline-text-2" id="text-orgheadline4">
279 279
 <p>
280
-Yes. Freedombone can support a small number of users, for a "<i>friends and family</i>" type of home installation. This gives them access to an email account, XMPP, SIP phone and the blog (depending on whether the variant which you installed includes those). To add a user login as root then run the command:
280
+Yes. Freedombone can support a small number of users, for a "<i>friends and family</i>" type of home installation. This gives them access to an email account, XMPP, SIP phone and the blog (depending on whether the variant which you installed includes those).
281 281
 </p>
282 282
 
283 283
 <div class="org-src-container">
284 284
 
285
-<pre class="src src-bash">freedombone-adduser [username]
285
+<pre class="src src-bash">ssh username@mydomainname -p 2222
286
+su
287
+control
286 288
 </pre>
287 289
 </div>
288 290
 
289 291
 <p>
290
-Or optionally with an <i>ssh public key</i>, given either as a filename or directly pasted. Specifying an ssh key will allow the user to log in more securely if they wish to use the Mutt email client.
292
+Select <i>Manage Users</i> and then <i>Add a user</i>. You will be prompted for a username and you can also optionally provide their ssh public key.
291 293
 </p>
292 294
 
293
-<div class="org-src-container">
294
-
295
-<pre class="src src-bash">freedombone-adduser [username] [ssh public key]
296
-</pre>
297
-</div>
298
-
299 295
 <p>
300 296
 Something to consider when having more than a single user on the system is the security situation. The original administrator user will have access to all of the data for other users (including their encryption keys), so if you do add extra users they need to have <b>complete trust</b> in the administrator.
301 297
 </p>
@@ -309,14 +305,20 @@ Another point is that Freedombone installations are not intended to support many
309 305
 <h2 id="orgheadline5">How do I remove a user from the system?</h2>
310 306
 <div class="outline-text-2" id="text-orgheadline5">
311 307
 <p>
312
-To remove a user login as root then run the command:
308
+To remove a user:
313 309
 </p>
314 310
 
315 311
 <div class="org-src-container">
316 312
 
317
-<pre class="src src-bash">freedombone-rmuser [username]
313
+<pre class="src src-bash">ssh username@mydomainname -p 2222
314
+su
315
+control
318 316
 </pre>
319 317
 </div>
318
+
319
+<p>
320
+Select <i>Manage Users</i> and then <i>Delete a user</i>. Note that this will delete all of that user's files and email.
321
+</p>
320 322
 </div>
321 323
 </div>
322 324
 <div id="outline-container-orgheadline6" class="outline-2">