Quellcode durchsuchen

Add users via the control panel

Bob Mottram vor 9 Jahren
Ursprung
Commit
c40de1dda6
2 geänderte Dateien mit 26 neuen und 22 gelöschten Zeilen
  1. 12
    10
      doc/EN/faq.org
  2. 14
    12
      website/EN/faq.html

+ 12
- 10
doc/EN/faq.org Datei anzeigen

40
 
40
 
41
 /Out of fashion/ but still working computer hardware tends to be cheap and readily available, yet still good for providing internet services.
41
 /Out of fashion/ but still working computer hardware tends to be cheap and readily available, yet still good for providing internet services.
42
 * Can I add more users to the system?
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
 #+BEGIN_SRC bash
45
 #+BEGIN_SRC bash
46
-freedombone-adduser [username]
46
+ssh username@mydomainname -p 2222
47
+su
48
+control
47
 #+END_SRC
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
 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.
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
 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.
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
 * How do I remove a user from the system?
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
 #+BEGIN_SRC bash
59
 #+BEGIN_SRC bash
62
-freedombone-rmuser [username]
60
+ssh username@mydomainname -p 2222
61
+su
62
+control
63
 #+END_SRC
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
 * How do I reset the tripwire?
66
 * How do I reset the tripwire?
65
 The tripwire will be automatically reset once per week. If you want to reset it earlier then do the following:
67
 The tripwire will be automatically reset once per week. If you want to reset it earlier then do the following:
66
 
68
 
80
 control
82
 control
81
 #+END_SRC
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
 | freedombone-addlist  | Adds a mailing list                                                  |
87
 | freedombone-addlist  | Adds a mailing list                                                  |
86
 | freedombone-rmlist   | Removes a mailing list                                               |
88
 | freedombone-rmlist   | Removes a mailing list                                               |

+ 14
- 12
website/EN/faq.html Datei anzeigen

4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5
 <head>
5
 <head>
6
 <title></title>
6
 <title></title>
7
-<!-- 2015-11-03 Tue 19:54 -->
7
+<!-- 2015-11-03 Tue 20:01 -->
8
 <meta  http-equiv="Content-Type" content="text/html;charset=utf-8" />
8
 <meta  http-equiv="Content-Type" content="text/html;charset=utf-8" />
9
 <meta  name="generator" content="Org-mode" />
9
 <meta  name="generator" content="Org-mode" />
10
 <meta  name="author" content="Bob Mottram" />
10
 <meta  name="author" content="Bob Mottram" />
277
 <h2 id="orgheadline4">Can I add more users to the system?</h2>
277
 <h2 id="orgheadline4">Can I add more users to the system?</h2>
278
 <div class="outline-text-2" id="text-orgheadline4">
278
 <div class="outline-text-2" id="text-orgheadline4">
279
 <p>
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
 </p>
281
 </p>
282
 
282
 
283
 <div class="org-src-container">
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
 </pre>
288
 </pre>
287
 </div>
289
 </div>
288
 
290
 
289
 <p>
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
 </p>
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
 <p>
295
 <p>
300
 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.
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
 </p>
297
 </p>
309
 <h2 id="orgheadline5">How do I remove a user from the system?</h2>
305
 <h2 id="orgheadline5">How do I remove a user from the system?</h2>
310
 <div class="outline-text-2" id="text-orgheadline5">
306
 <div class="outline-text-2" id="text-orgheadline5">
311
 <p>
307
 <p>
312
-To remove a user login as root then run the command:
308
+To remove a user:
313
 </p>
309
 </p>
314
 
310
 
315
 <div class="org-src-container">
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
 </pre>
316
 </pre>
319
 </div>
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
 </div>
322
 </div>
321
 </div>
323
 </div>
322
 <div id="outline-container-orgheadline6" class="outline-2">
324
 <div id="outline-container-orgheadline6" class="outline-2">