diff options
author | grindhold <grindhold@gmx.net> | 2019-09-21 13:29:43 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-09-21 17:44:35 +0200 |
commit | 7f5691514d3e34ee9f74336f4e2325bf7d06c53f (patch) | |
tree | 202a47dfead931e5e67243cae3d6a3ef5fbf3f0a | |
parent | 99cb656ca9a40ecba3545d84b7c05f4193200b5b (diff) | |
download | gnunet-gtk-7f5691514d3e34ee9f74336f4e2325bf7d06c53f.tar.gz gnunet-gtk-7f5691514d3e34ee9f74336f4e2325bf7d06c53f.zip |
fix typo in cmdline-arg 'priviledge'→'privilege'
-rw-r--r-- | doc/gnunet-setup.1 | 6 | ||||
-rw-r--r-- | src/setup/gnunet-setup.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/gnunet-setup.1 b/doc/gnunet-setup.1 index 8213c558..5e901ce2 100644 --- a/doc/gnunet-setup.1 +++ b/doc/gnunet-setup.1 | |||
@@ -8,7 +8,7 @@ gnunet\-setup \- a gtk interface for configuring GNUnet | |||
8 | .PP | 8 | .PP |
9 | gnunet\-setup is a gtk+ based GUI for configuring GNUnet. | 9 | gnunet\-setup is a gtk+ based GUI for configuring GNUnet. |
10 | 10 | ||
11 | The first time you run gnunet\-setup, the goal will typically be to configure the peer, that is, the set of processes that always run in the background. Those processes should run as user "gnunet" and thus gnunet\-setup should be run as user "gnunet" for this step. Use the "\-e" option to enable automatic priviledge escalation using gksu (if supported by your system). Alternatively, you can of course run gnunet\-setup from the "gnunet" system user account or even as "root". If you see a tab "General", you did start gnunet\-setup correctly to configure the peer. You should now be able to configure which subsystems of GNUnet you want to enable, which databases to use and what your network configuration looks like. After these steps are complete, you should be able to start your peer using "gnunet\-arm". | 11 | The first time you run gnunet\-setup, the goal will typically be to configure the peer, that is, the set of processes that always run in the background. Those processes should run as user "gnunet" and thus gnunet\-setup should be run as user "gnunet" for this step. Use the "\-e" option to enable automatic privilege escalation using gksu (if supported by your system). Alternatively, you can of course run gnunet\-setup from the "gnunet" system user account or even as "root". If you see a tab "General", you did start gnunet\-setup correctly to configure the peer. You should now be able to configure which subsystems of GNUnet you want to enable, which databases to use and what your network configuration looks like. After these steps are complete, you should be able to start your peer using "gnunet\-arm". |
12 | 12 | ||
13 | It is recommended that "/etc/gnunet.conf" should be a world\-readable copy of the peer's GNUnet configuration. Note that GNUnet configuration files (as generated by gnunet\-setup) only contain those values that differ from the defaults. Also note that "gnunet\-arm" will by default look for a configuration in "$HOME/.config/gnunet.conf" (or, "$XDG_CONFIG_DIR/gnunet.conf" if "$XDG_CONFIG_DIR" is set); thus, if your configuration is in "/etc/gnunet.conf", you have to pass "\-c /etc/gnunet.conf" to gnunet\-arm or set "$XDG_CONFIG_DIR" to "/etc/". | 13 | It is recommended that "/etc/gnunet.conf" should be a world\-readable copy of the peer's GNUnet configuration. Note that GNUnet configuration files (as generated by gnunet\-setup) only contain those values that differ from the defaults. Also note that "gnunet\-arm" will by default look for a configuration in "$HOME/.config/gnunet.conf" (or, "$XDG_CONFIG_DIR/gnunet.conf" if "$XDG_CONFIG_DIR" is set); thus, if your configuration is in "/etc/gnunet.conf", you have to pass "\-c /etc/gnunet.conf" to gnunet\-arm or set "$XDG_CONFIG_DIR" to "/etc/". |
14 | 14 | ||
@@ -16,8 +16,8 @@ It is recommended that "/etc/gnunet.conf" should be a world\-readable copy of th | |||
16 | \fB\-c \fIFILENAME\fR, \fB\-\-config=FILENAME\fR | 16 | \fB\-c \fIFILENAME\fR, \fB\-\-config=FILENAME\fR |
17 | load config file (default: ~/.config/gnunet.conf) | 17 | load config file (default: ~/.config/gnunet.conf) |
18 | .TP | 18 | .TP |
19 | \fB\-e, \fB\-\-elevate\-priviledges\fR | 19 | \fB\-e, \fB\-\-elevate\-privileges\fR |
20 | Try to elevate priviledges to run gnunet\-setup as user "gnunet". This option is only available if libgksu\-support was found on your system. It is ignored if gnunet\-setup is run as user "root" or "gnunet" already. If "gksu" fails, gnunet\]-setup is run as the current user. | 20 | Try to elevate privileges to run gnunet\-setup as user "gnunet". This option is only available if libgksu\-support was found on your system. It is ignored if gnunet\-setup is run as user "root" or "gnunet" already. If "gksu" fails, gnunet\]-setup is run as the current user. |
21 | .TP | 21 | .TP |
22 | \fB\-h\fR, \fB\-\-help\fR | 22 | \fB\-h\fR, \fB\-\-help\fR |
23 | print help page | 23 | print help page |
diff --git a/src/setup/gnunet-setup.c b/src/setup/gnunet-setup.c index 2b95f4d4..77734ecc 100644 --- a/src/setup/gnunet-setup.c +++ b/src/setup/gnunet-setup.c | |||
@@ -385,7 +385,7 @@ GNUNET_SETUP_quit_cb (GObject *object, gpointer user_data) | |||
385 | 385 | ||
386 | #ifndef MINGW | 386 | #ifndef MINGW |
387 | /** | 387 | /** |
388 | * Try elevating user priviledges to run as user 'gnunet' or 'root'. | 388 | * Try elevating user privileges to run as user 'gnunet' or 'root'. |
389 | * | 389 | * |
390 | * @param username user gnunet-setup should be run as | 390 | * @param username user gnunet-setup should be run as |
391 | * @return #GNUNET_OK on success | 391 | * @return #GNUNET_OK on success |
@@ -538,7 +538,7 @@ main (int argc, char *const *argv) | |||
538 | #ifndef MINGW | 538 | #ifndef MINGW |
539 | GNUNET_GETOPT_option_flag ( | 539 | GNUNET_GETOPT_option_flag ( |
540 | 'e', | 540 | 'e', |
541 | "elevate-priviledges", | 541 | "elevate-privileges", |
542 | gettext_noop ( | 542 | gettext_noop ( |
543 | "run as user 'gnunet', if necessary by executing gksu to elevate rights"), | 543 | "run as user 'gnunet', if necessary by executing gksu to elevate rights"), |
544 | &do_gksu), | 544 | &do_gksu), |