-bash: sudo: command not found in RHEL

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-1
down vote

favorite
1












enter image description here



I did not set my root passwod. i can not do anything without root or sudo. how do i fix the sudo issue? i can not even copy those files from other rhel machine because permissions denied










share|improve this question







New contributor




Nitin Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Please do not post images instead of text. And you can try /usr/libexec/sudo su
    – Romeo Ninov
    yesterday






  • 1




    @RomeoNinov if you're going to use sudo you shouldn't need su too. It's like saying "Please can I have root? Ah, thank you. Oh, now that I'm root, please can I have root access?" - it just doesn't make sense.
    – roaima
    yesterday











  • @roaima, right. But it depend what is configured for sudo. :)
    – Romeo Ninov
    yesterday










  • @RomeoNinov what's your exception use case? I've yet to see one, so I'd be interested.
    – roaima
    yesterday










  • @roaima, when is defined explicit list of commands
    – Romeo Ninov
    yesterday














up vote
-1
down vote

favorite
1












enter image description here



I did not set my root passwod. i can not do anything without root or sudo. how do i fix the sudo issue? i can not even copy those files from other rhel machine because permissions denied










share|improve this question







New contributor




Nitin Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Please do not post images instead of text. And you can try /usr/libexec/sudo su
    – Romeo Ninov
    yesterday






  • 1




    @RomeoNinov if you're going to use sudo you shouldn't need su too. It's like saying "Please can I have root? Ah, thank you. Oh, now that I'm root, please can I have root access?" - it just doesn't make sense.
    – roaima
    yesterday











  • @roaima, right. But it depend what is configured for sudo. :)
    – Romeo Ninov
    yesterday










  • @RomeoNinov what's your exception use case? I've yet to see one, so I'd be interested.
    – roaima
    yesterday










  • @roaima, when is defined explicit list of commands
    – Romeo Ninov
    yesterday












up vote
-1
down vote

favorite
1









up vote
-1
down vote

favorite
1






1





enter image description here



I did not set my root passwod. i can not do anything without root or sudo. how do i fix the sudo issue? i can not even copy those files from other rhel machine because permissions denied










share|improve this question







New contributor




Nitin Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











enter image description here



I did not set my root passwod. i can not do anything without root or sudo. how do i fix the sudo issue? i can not even copy those files from other rhel machine because permissions denied







rhel sudo aws






share|improve this question







New contributor




Nitin Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Nitin Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Nitin Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









Nitin Kumar

21




21




New contributor




Nitin Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Nitin Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Nitin Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • Please do not post images instead of text. And you can try /usr/libexec/sudo su
    – Romeo Ninov
    yesterday






  • 1




    @RomeoNinov if you're going to use sudo you shouldn't need su too. It's like saying "Please can I have root? Ah, thank you. Oh, now that I'm root, please can I have root access?" - it just doesn't make sense.
    – roaima
    yesterday











  • @roaima, right. But it depend what is configured for sudo. :)
    – Romeo Ninov
    yesterday










  • @RomeoNinov what's your exception use case? I've yet to see one, so I'd be interested.
    – roaima
    yesterday










  • @roaima, when is defined explicit list of commands
    – Romeo Ninov
    yesterday
















  • Please do not post images instead of text. And you can try /usr/libexec/sudo su
    – Romeo Ninov
    yesterday






  • 1




    @RomeoNinov if you're going to use sudo you shouldn't need su too. It's like saying "Please can I have root? Ah, thank you. Oh, now that I'm root, please can I have root access?" - it just doesn't make sense.
    – roaima
    yesterday











  • @roaima, right. But it depend what is configured for sudo. :)
    – Romeo Ninov
    yesterday










  • @RomeoNinov what's your exception use case? I've yet to see one, so I'd be interested.
    – roaima
    yesterday










  • @roaima, when is defined explicit list of commands
    – Romeo Ninov
    yesterday















Please do not post images instead of text. And you can try /usr/libexec/sudo su
– Romeo Ninov
yesterday




Please do not post images instead of text. And you can try /usr/libexec/sudo su
– Romeo Ninov
yesterday




1




1




@RomeoNinov if you're going to use sudo you shouldn't need su too. It's like saying "Please can I have root? Ah, thank you. Oh, now that I'm root, please can I have root access?" - it just doesn't make sense.
– roaima
yesterday





@RomeoNinov if you're going to use sudo you shouldn't need su too. It's like saying "Please can I have root? Ah, thank you. Oh, now that I'm root, please can I have root access?" - it just doesn't make sense.
– roaima
yesterday













@roaima, right. But it depend what is configured for sudo. :)
– Romeo Ninov
yesterday




@roaima, right. But it depend what is configured for sudo. :)
– Romeo Ninov
yesterday












@RomeoNinov what's your exception use case? I've yet to see one, so I'd be interested.
– roaima
yesterday




@RomeoNinov what's your exception use case? I've yet to see one, so I'd be interested.
– roaima
yesterday












@roaima, when is defined explicit list of commands
– Romeo Ninov
yesterday




@roaima, when is defined explicit list of commands
– Romeo Ninov
yesterday















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Nitin Kumar is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f473802%2fbash-sudo-command-not-found-in-rhel%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








Nitin Kumar is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















Nitin Kumar is a new contributor. Be nice, and check out our Code of Conduct.












Nitin Kumar is a new contributor. Be nice, and check out our Code of Conduct.











Nitin Kumar is a new contributor. Be nice, and check out our Code of Conduct.













 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f473802%2fbash-sudo-command-not-found-in-rhel%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?