* [PATCH] doc: Update sudo configuration in the manual.
@ 2018-05-04 8:46 Henning Schild
2018-05-11 15:34 ` Alexander Smirnov
0 siblings, 1 reply; 2+ messages in thread
From: Henning Schild @ 2018-05-04 8:46 UTC (permalink / raw)
To: isar-users; +Cc: Francesco, Henning Schild
Francesco reported build problems with the suggested sudo configuration.
The issue might be that somewhere along the way a user or group other
than root is used, or that there are problems with (NO)SETENV.
Update the manual to include an entry that should prevent such problems,
also add a line to deal with proxies.
Reported-by: Francesco <fdprnd@dave.eu>
Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
doc/user_manual.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/doc/user_manual.md b/doc/user_manual.md
index 7bdfc1c..70c382e 100644
--- a/doc/user_manual.md
+++ b/doc/user_manual.md
@@ -79,9 +79,11 @@ Isar requires `sudo` rights without password to work with `chroot` and `debootst
```
In the editor, allow the current user to run sudo without a password, e.g.:
```
- <user> ALL=NOPASSWD: ALL
+ <user> ALL=(ALL:ALL) NOPASSWD:ALL
+ Defaults env_keep += "ftp_proxy http_proxy https_proxy no_proxy"
```
Replace `<user>` with your user name. Use the tab character between the user name and parameters.
+The second line will make sure your proxy settings will not get lost when using `sudo`. Include it if you are in the unfortunate possition to having to deal with that.
### Check out Isar
--
2.16.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] doc: Update sudo configuration in the manual.
2018-05-04 8:46 [PATCH] doc: Update sudo configuration in the manual Henning Schild
@ 2018-05-11 15:34 ` Alexander Smirnov
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Smirnov @ 2018-05-11 15:34 UTC (permalink / raw)
To: Henning Schild, isar-users; +Cc: Francesco
On 05/04/2018 11:46 AM, Henning Schild wrote:
> Francesco reported build problems with the suggested sudo configuration.
> The issue might be that somewhere along the way a user or group other
> than root is used, or that there are problems with (NO)SETENV.
>
> Update the manual to include an entry that should prevent such problems,
> also add a line to deal with proxies.
>
Applied to next, thanks!
Alex
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-11 15:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-04 8:46 [PATCH] doc: Update sudo configuration in the manual Henning Schild
2018-05-11 15:34 ` Alexander Smirnov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox