Ubuntu 18.04 - sudo: no tty present and no askpass program specified












0















Before telling me about /etc/sudoers file
here it is:



#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL:ALL) ALL
jenkins ALL=(ALL) NOPASSWD: ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d


In the beginning I was trying to run a sudo command remotely.
I edited the sudoers file with visudo to let jenkins user the ability to run sudo commands with no password asked.



once i realized that I have another problem
I even tried to run (when I logged on as jenkins user) the following :
ssh localhost "sudo w"
even that doesn't work.



getting this error : sudo: no tty present and no askpass program specified



any ideas?



thanks!



EDIT:




  1. I'm trying to run bash sudo commands from jenkins master machine on slave machine in post step job (done it alredy with other slave).


  2. When I run the job it failed with error : sudo: no tty present and no askpass program specified.
    from my debugging, it seems that the problem not relating to the master, because I tried to send sudo command over ssh within the slave machine and got the same error.


  3. My expectation is to make it work. the way it already worked on a different salve machine. (which i also test the same logic within the other salve machine by sending sudo command over ssh pointing localhost --- worked just fine



it seems like there is no tty for sudo command over ssh...
I'm not an expert of TTY or SSH.
Maybe I'm missing something...



SOLVED!
I think it is a BUG...



I moved the this line to the end of the /etc/sudoers and it works!



jenkins ALL=(ALL) NOPASSWD: ALL


so the file looks like this:



#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL:ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d
jenkins ALL=(ALL) NOPASSWD: ALL









share|improve this question




















  • 1





    What problem? Please edit your question and explain exactly what is happening. What command are you trying to run? How are you connecting to the Ubuntu machine? What Ubuntu is this? Are you running a script?

    – terdon
    Jan 28 at 11:02











  • Please be more clear. Are you physically in front of the machine? It sounds like you aren't, but how are you connecting? Are you only getting this error when trying to run commands with ssh? That's not a bug, if so.

    – terdon
    Jan 28 at 11:16











  • This is a virtual machine (ubuntu server 18.04), I have ssh connection to the machine. I Did the same steps on other machine once before (ubuntu server 16.04) and it work just fine

    – ShSa
    Jan 28 at 11:18













  • I only get this error when trying to run commands as root - meaning "sudo..."

    – ShSa
    Jan 28 at 11:20













  • but when I add -t to the command ssh -t localhost "sudo w" It works. Maybe it's not a bug but I will be grateful for an explanation.

    – ShSa
    Jan 28 at 11:29


















0















Before telling me about /etc/sudoers file
here it is:



#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL:ALL) ALL
jenkins ALL=(ALL) NOPASSWD: ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d


In the beginning I was trying to run a sudo command remotely.
I edited the sudoers file with visudo to let jenkins user the ability to run sudo commands with no password asked.



once i realized that I have another problem
I even tried to run (when I logged on as jenkins user) the following :
ssh localhost "sudo w"
even that doesn't work.



getting this error : sudo: no tty present and no askpass program specified



any ideas?



thanks!



EDIT:




  1. I'm trying to run bash sudo commands from jenkins master machine on slave machine in post step job (done it alredy with other slave).


  2. When I run the job it failed with error : sudo: no tty present and no askpass program specified.
    from my debugging, it seems that the problem not relating to the master, because I tried to send sudo command over ssh within the slave machine and got the same error.


  3. My expectation is to make it work. the way it already worked on a different salve machine. (which i also test the same logic within the other salve machine by sending sudo command over ssh pointing localhost --- worked just fine



it seems like there is no tty for sudo command over ssh...
I'm not an expert of TTY or SSH.
Maybe I'm missing something...



SOLVED!
I think it is a BUG...



I moved the this line to the end of the /etc/sudoers and it works!



jenkins ALL=(ALL) NOPASSWD: ALL


so the file looks like this:



#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL:ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d
jenkins ALL=(ALL) NOPASSWD: ALL









share|improve this question




















  • 1





    What problem? Please edit your question and explain exactly what is happening. What command are you trying to run? How are you connecting to the Ubuntu machine? What Ubuntu is this? Are you running a script?

    – terdon
    Jan 28 at 11:02











  • Please be more clear. Are you physically in front of the machine? It sounds like you aren't, but how are you connecting? Are you only getting this error when trying to run commands with ssh? That's not a bug, if so.

    – terdon
    Jan 28 at 11:16











  • This is a virtual machine (ubuntu server 18.04), I have ssh connection to the machine. I Did the same steps on other machine once before (ubuntu server 16.04) and it work just fine

    – ShSa
    Jan 28 at 11:18













  • I only get this error when trying to run commands as root - meaning "sudo..."

    – ShSa
    Jan 28 at 11:20













  • but when I add -t to the command ssh -t localhost "sudo w" It works. Maybe it's not a bug but I will be grateful for an explanation.

    – ShSa
    Jan 28 at 11:29
















0












0








0








Before telling me about /etc/sudoers file
here it is:



#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL:ALL) ALL
jenkins ALL=(ALL) NOPASSWD: ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d


In the beginning I was trying to run a sudo command remotely.
I edited the sudoers file with visudo to let jenkins user the ability to run sudo commands with no password asked.



once i realized that I have another problem
I even tried to run (when I logged on as jenkins user) the following :
ssh localhost "sudo w"
even that doesn't work.



getting this error : sudo: no tty present and no askpass program specified



any ideas?



thanks!



EDIT:




  1. I'm trying to run bash sudo commands from jenkins master machine on slave machine in post step job (done it alredy with other slave).


  2. When I run the job it failed with error : sudo: no tty present and no askpass program specified.
    from my debugging, it seems that the problem not relating to the master, because I tried to send sudo command over ssh within the slave machine and got the same error.


  3. My expectation is to make it work. the way it already worked on a different salve machine. (which i also test the same logic within the other salve machine by sending sudo command over ssh pointing localhost --- worked just fine



it seems like there is no tty for sudo command over ssh...
I'm not an expert of TTY or SSH.
Maybe I'm missing something...



SOLVED!
I think it is a BUG...



I moved the this line to the end of the /etc/sudoers and it works!



jenkins ALL=(ALL) NOPASSWD: ALL


so the file looks like this:



#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL:ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d
jenkins ALL=(ALL) NOPASSWD: ALL









share|improve this question
















Before telling me about /etc/sudoers file
here it is:



#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL:ALL) ALL
jenkins ALL=(ALL) NOPASSWD: ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d


In the beginning I was trying to run a sudo command remotely.
I edited the sudoers file with visudo to let jenkins user the ability to run sudo commands with no password asked.



once i realized that I have another problem
I even tried to run (when I logged on as jenkins user) the following :
ssh localhost "sudo w"
even that doesn't work.



getting this error : sudo: no tty present and no askpass program specified



any ideas?



thanks!



EDIT:




  1. I'm trying to run bash sudo commands from jenkins master machine on slave machine in post step job (done it alredy with other slave).


  2. When I run the job it failed with error : sudo: no tty present and no askpass program specified.
    from my debugging, it seems that the problem not relating to the master, because I tried to send sudo command over ssh within the slave machine and got the same error.


  3. My expectation is to make it work. the way it already worked on a different salve machine. (which i also test the same logic within the other salve machine by sending sudo command over ssh pointing localhost --- worked just fine



it seems like there is no tty for sudo command over ssh...
I'm not an expert of TTY or SSH.
Maybe I'm missing something...



SOLVED!
I think it is a BUG...



I moved the this line to the end of the /etc/sudoers and it works!



jenkins ALL=(ALL) NOPASSWD: ALL


so the file looks like this:



#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL:ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d
jenkins ALL=(ALL) NOPASSWD: ALL






command-line server permissions sudo tty






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 30 at 11:24







ShSa

















asked Jan 28 at 10:58









ShSaShSa

132




132








  • 1





    What problem? Please edit your question and explain exactly what is happening. What command are you trying to run? How are you connecting to the Ubuntu machine? What Ubuntu is this? Are you running a script?

    – terdon
    Jan 28 at 11:02











  • Please be more clear. Are you physically in front of the machine? It sounds like you aren't, but how are you connecting? Are you only getting this error when trying to run commands with ssh? That's not a bug, if so.

    – terdon
    Jan 28 at 11:16











  • This is a virtual machine (ubuntu server 18.04), I have ssh connection to the machine. I Did the same steps on other machine once before (ubuntu server 16.04) and it work just fine

    – ShSa
    Jan 28 at 11:18













  • I only get this error when trying to run commands as root - meaning "sudo..."

    – ShSa
    Jan 28 at 11:20













  • but when I add -t to the command ssh -t localhost "sudo w" It works. Maybe it's not a bug but I will be grateful for an explanation.

    – ShSa
    Jan 28 at 11:29
















  • 1





    What problem? Please edit your question and explain exactly what is happening. What command are you trying to run? How are you connecting to the Ubuntu machine? What Ubuntu is this? Are you running a script?

    – terdon
    Jan 28 at 11:02











  • Please be more clear. Are you physically in front of the machine? It sounds like you aren't, but how are you connecting? Are you only getting this error when trying to run commands with ssh? That's not a bug, if so.

    – terdon
    Jan 28 at 11:16











  • This is a virtual machine (ubuntu server 18.04), I have ssh connection to the machine. I Did the same steps on other machine once before (ubuntu server 16.04) and it work just fine

    – ShSa
    Jan 28 at 11:18













  • I only get this error when trying to run commands as root - meaning "sudo..."

    – ShSa
    Jan 28 at 11:20













  • but when I add -t to the command ssh -t localhost "sudo w" It works. Maybe it's not a bug but I will be grateful for an explanation.

    – ShSa
    Jan 28 at 11:29










1




1





What problem? Please edit your question and explain exactly what is happening. What command are you trying to run? How are you connecting to the Ubuntu machine? What Ubuntu is this? Are you running a script?

– terdon
Jan 28 at 11:02





What problem? Please edit your question and explain exactly what is happening. What command are you trying to run? How are you connecting to the Ubuntu machine? What Ubuntu is this? Are you running a script?

– terdon
Jan 28 at 11:02













Please be more clear. Are you physically in front of the machine? It sounds like you aren't, but how are you connecting? Are you only getting this error when trying to run commands with ssh? That's not a bug, if so.

– terdon
Jan 28 at 11:16





Please be more clear. Are you physically in front of the machine? It sounds like you aren't, but how are you connecting? Are you only getting this error when trying to run commands with ssh? That's not a bug, if so.

– terdon
Jan 28 at 11:16













This is a virtual machine (ubuntu server 18.04), I have ssh connection to the machine. I Did the same steps on other machine once before (ubuntu server 16.04) and it work just fine

– ShSa
Jan 28 at 11:18







This is a virtual machine (ubuntu server 18.04), I have ssh connection to the machine. I Did the same steps on other machine once before (ubuntu server 16.04) and it work just fine

– ShSa
Jan 28 at 11:18















I only get this error when trying to run commands as root - meaning "sudo..."

– ShSa
Jan 28 at 11:20







I only get this error when trying to run commands as root - meaning "sudo..."

– ShSa
Jan 28 at 11:20















but when I add -t to the command ssh -t localhost "sudo w" It works. Maybe it's not a bug but I will be grateful for an explanation.

– ShSa
Jan 28 at 11:29







but when I add -t to the command ssh -t localhost "sudo w" It works. Maybe it's not a bug but I will be grateful for an explanation.

– ShSa
Jan 28 at 11:29












1 Answer
1






active

oldest

votes


















0














The issue us that the file is read in order. See the "SUDOERS FILE FORMAT" section of man sudoers:




When multiple entries match for a user, they are applied in order. Where there
are multiple matches, the last match is used (which is not necessarily the most
specific match).




So, first it reads this line:



jenkins ALL=(ALL) NOPASSWD: ALL


And allows jenkins to run sudo command with no password (this seems like an absolutely horrible idea, by the way, but let's leave security out of it for now). Then, it continues reading the file and finds:



%sudo   ALL=(ALL:ALL) ALL


Since jenkins is part of the sudo group, this applies to jenkins as well and overwrites the NOPASSWD command.






share|improve this answer
























  • How can I contact you in private? there is a chat or something?

    – ShSa
    Jan 30 at 14:46













  • @ShSa yes, there is a chat room associated with the site, but you need 20 reputation points to use it. Don't worry, that's just a single upvote on an answer or two upvotes on a question since you already have 10!

    – terdon
    Jan 30 at 14:47











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1113503%2fubuntu-18-04-sudo-no-tty-present-and-no-askpass-program-specified%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














The issue us that the file is read in order. See the "SUDOERS FILE FORMAT" section of man sudoers:




When multiple entries match for a user, they are applied in order. Where there
are multiple matches, the last match is used (which is not necessarily the most
specific match).




So, first it reads this line:



jenkins ALL=(ALL) NOPASSWD: ALL


And allows jenkins to run sudo command with no password (this seems like an absolutely horrible idea, by the way, but let's leave security out of it for now). Then, it continues reading the file and finds:



%sudo   ALL=(ALL:ALL) ALL


Since jenkins is part of the sudo group, this applies to jenkins as well and overwrites the NOPASSWD command.






share|improve this answer
























  • How can I contact you in private? there is a chat or something?

    – ShSa
    Jan 30 at 14:46













  • @ShSa yes, there is a chat room associated with the site, but you need 20 reputation points to use it. Don't worry, that's just a single upvote on an answer or two upvotes on a question since you already have 10!

    – terdon
    Jan 30 at 14:47
















0














The issue us that the file is read in order. See the "SUDOERS FILE FORMAT" section of man sudoers:




When multiple entries match for a user, they are applied in order. Where there
are multiple matches, the last match is used (which is not necessarily the most
specific match).




So, first it reads this line:



jenkins ALL=(ALL) NOPASSWD: ALL


And allows jenkins to run sudo command with no password (this seems like an absolutely horrible idea, by the way, but let's leave security out of it for now). Then, it continues reading the file and finds:



%sudo   ALL=(ALL:ALL) ALL


Since jenkins is part of the sudo group, this applies to jenkins as well and overwrites the NOPASSWD command.






share|improve this answer
























  • How can I contact you in private? there is a chat or something?

    – ShSa
    Jan 30 at 14:46













  • @ShSa yes, there is a chat room associated with the site, but you need 20 reputation points to use it. Don't worry, that's just a single upvote on an answer or two upvotes on a question since you already have 10!

    – terdon
    Jan 30 at 14:47














0












0








0







The issue us that the file is read in order. See the "SUDOERS FILE FORMAT" section of man sudoers:




When multiple entries match for a user, they are applied in order. Where there
are multiple matches, the last match is used (which is not necessarily the most
specific match).




So, first it reads this line:



jenkins ALL=(ALL) NOPASSWD: ALL


And allows jenkins to run sudo command with no password (this seems like an absolutely horrible idea, by the way, but let's leave security out of it for now). Then, it continues reading the file and finds:



%sudo   ALL=(ALL:ALL) ALL


Since jenkins is part of the sudo group, this applies to jenkins as well and overwrites the NOPASSWD command.






share|improve this answer













The issue us that the file is read in order. See the "SUDOERS FILE FORMAT" section of man sudoers:




When multiple entries match for a user, they are applied in order. Where there
are multiple matches, the last match is used (which is not necessarily the most
specific match).




So, first it reads this line:



jenkins ALL=(ALL) NOPASSWD: ALL


And allows jenkins to run sudo command with no password (this seems like an absolutely horrible idea, by the way, but let's leave security out of it for now). Then, it continues reading the file and finds:



%sudo   ALL=(ALL:ALL) ALL


Since jenkins is part of the sudo group, this applies to jenkins as well and overwrites the NOPASSWD command.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 30 at 14:30









terdonterdon

67k13139221




67k13139221













  • How can I contact you in private? there is a chat or something?

    – ShSa
    Jan 30 at 14:46













  • @ShSa yes, there is a chat room associated with the site, but you need 20 reputation points to use it. Don't worry, that's just a single upvote on an answer or two upvotes on a question since you already have 10!

    – terdon
    Jan 30 at 14:47



















  • How can I contact you in private? there is a chat or something?

    – ShSa
    Jan 30 at 14:46













  • @ShSa yes, there is a chat room associated with the site, but you need 20 reputation points to use it. Don't worry, that's just a single upvote on an answer or two upvotes on a question since you already have 10!

    – terdon
    Jan 30 at 14:47

















How can I contact you in private? there is a chat or something?

– ShSa
Jan 30 at 14:46







How can I contact you in private? there is a chat or something?

– ShSa
Jan 30 at 14:46















@ShSa yes, there is a chat room associated with the site, but you need 20 reputation points to use it. Don't worry, that's just a single upvote on an answer or two upvotes on a question since you already have 10!

– terdon
Jan 30 at 14:47





@ShSa yes, there is a chat room associated with the site, but you need 20 reputation points to use it. Don't worry, that's just a single upvote on an answer or two upvotes on a question since you already have 10!

– terdon
Jan 30 at 14:47


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1113503%2fubuntu-18-04-sudo-no-tty-present-and-no-askpass-program-specified%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?