What exactly in the sudo behavior is unpredictable?
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
In the Best practices for writing Dockerfiles guide of the docker documentation, we can read:
Avoid installing or using sudo since it has unpredictable TTY and signal-forwarding behavior that can cause problems. If you absolutely need functionality similar to sudo, such as initializing the daemon as root but running it as non-root), consider using âÂÂgosuâÂÂ.
My questions are:
- What exactly in the
sudo
behavior is unpredictable? - Which problems can it cause?
- Is it a feature or a bug of
sudo
?
sudo tty docker signals
add a comment |Â
up vote
3
down vote
favorite
In the Best practices for writing Dockerfiles guide of the docker documentation, we can read:
Avoid installing or using sudo since it has unpredictable TTY and signal-forwarding behavior that can cause problems. If you absolutely need functionality similar to sudo, such as initializing the daemon as root but running it as non-root), consider using âÂÂgosuâÂÂ.
My questions are:
- What exactly in the
sudo
behavior is unpredictable? - Which problems can it cause?
- Is it a feature or a bug of
sudo
?
sudo tty docker signals
1
Maybe this is one of reason ruderich.org/simon/notes/su-sudo-from-root-tty-hijacking
â cuonglm
Apr 11 at 10:40
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
In the Best practices for writing Dockerfiles guide of the docker documentation, we can read:
Avoid installing or using sudo since it has unpredictable TTY and signal-forwarding behavior that can cause problems. If you absolutely need functionality similar to sudo, such as initializing the daemon as root but running it as non-root), consider using âÂÂgosuâÂÂ.
My questions are:
- What exactly in the
sudo
behavior is unpredictable? - Which problems can it cause?
- Is it a feature or a bug of
sudo
?
sudo tty docker signals
In the Best practices for writing Dockerfiles guide of the docker documentation, we can read:
Avoid installing or using sudo since it has unpredictable TTY and signal-forwarding behavior that can cause problems. If you absolutely need functionality similar to sudo, such as initializing the daemon as root but running it as non-root), consider using âÂÂgosuâÂÂ.
My questions are:
- What exactly in the
sudo
behavior is unpredictable? - Which problems can it cause?
- Is it a feature or a bug of
sudo
?
sudo tty docker signals
edited Apr 11 at 10:12
asked Apr 11 at 8:35
Ortomala Lokni
2,07511240
2,07511240
1
Maybe this is one of reason ruderich.org/simon/notes/su-sudo-from-root-tty-hijacking
â cuonglm
Apr 11 at 10:40
add a comment |Â
1
Maybe this is one of reason ruderich.org/simon/notes/su-sudo-from-root-tty-hijacking
â cuonglm
Apr 11 at 10:40
1
1
Maybe this is one of reason ruderich.org/simon/notes/su-sudo-from-root-tty-hijacking
â cuonglm
Apr 11 at 10:40
Maybe this is one of reason ruderich.org/simon/notes/su-sudo-from-root-tty-hijacking
â cuonglm
Apr 11 at 10:40
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f436949%2fwhat-exactly-in-the-sudo-behavior-is-unpredictable%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Maybe this is one of reason ruderich.org/simon/notes/su-sudo-from-root-tty-hijacking
â cuonglm
Apr 11 at 10:40