-bash: sudo: command not found in RHEL
Clash Royale CLAN TAG#URR8PPP
up vote
-1
down vote
favorite
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
New contributor
 |Â
show 2 more comments
up vote
-1
down vote
favorite
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
New contributor
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 usesudo
you shouldn't needsu
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 forsudo
. :)
â 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
 |Â
show 2 more comments
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
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
New contributor
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
rhel sudo aws
New contributor
New contributor
New contributor
asked yesterday
Nitin Kumar
21
21
New contributor
New contributor
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 usesudo
you shouldn't needsu
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 forsudo
. :)
â 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
 |Â
show 2 more comments
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 usesudo
you shouldn't needsu
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 forsudo
. :)
â 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
 |Â
show 2 more comments
active
oldest
votes
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.
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.
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%2f473802%2fbash-sudo-command-not-found-in-rhel%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
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 needsu
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