-bash: sudo: command not found in centos
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 command-not-found
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 command-not-found
New contributor
Please do not post images instead of text. And you can try/usr/libexec/sudo su
â Romeo Ninov
Oct 7 at 15:52
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
Oct 7 at 17:51
@roaima, right. But it depend what is configured forsudo
. :)
â Romeo Ninov
Oct 7 at 17:58
@RomeoNinov what's your exception use case? I've yet to see one, so I'd be interested.
â roaima
Oct 7 at 18:27
@roaima, when is defined explicit list of commands
â Romeo Ninov
Oct 7 at 19:03
 |Â
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 command-not-found
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 command-not-found
rhel sudo aws command-not-found
New contributor
New contributor
edited 5 mins ago
New contributor
asked Oct 7 at 15:06
Nitin Kumar
43
43
New contributor
New contributor
Please do not post images instead of text. And you can try/usr/libexec/sudo su
â Romeo Ninov
Oct 7 at 15:52
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
Oct 7 at 17:51
@roaima, right. But it depend what is configured forsudo
. :)
â Romeo Ninov
Oct 7 at 17:58
@RomeoNinov what's your exception use case? I've yet to see one, so I'd be interested.
â roaima
Oct 7 at 18:27
@roaima, when is defined explicit list of commands
â Romeo Ninov
Oct 7 at 19:03
 |Â
show 2 more comments
Please do not post images instead of text. And you can try/usr/libexec/sudo su
â Romeo Ninov
Oct 7 at 15:52
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
Oct 7 at 17:51
@roaima, right. But it depend what is configured forsudo
. :)
â Romeo Ninov
Oct 7 at 17:58
@RomeoNinov what's your exception use case? I've yet to see one, so I'd be interested.
â roaima
Oct 7 at 18:27
@roaima, when is defined explicit list of commands
â Romeo Ninov
Oct 7 at 19:03
Please do not post images instead of text. And you can try
/usr/libexec/sudo su
â Romeo Ninov
Oct 7 at 15:52
Please do not post images instead of text. And you can try
/usr/libexec/sudo su
â Romeo Ninov
Oct 7 at 15:52
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
Oct 7 at 17:51
@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
Oct 7 at 17:51
@roaima, right. But it depend what is configured for
sudo
. :)â Romeo Ninov
Oct 7 at 17:58
@roaima, right. But it depend what is configured for
sudo
. :)â Romeo Ninov
Oct 7 at 17:58
@RomeoNinov what's your exception use case? I've yet to see one, so I'd be interested.
â roaima
Oct 7 at 18:27
@RomeoNinov what's your exception use case? I've yet to see one, so I'd be interested.
â roaima
Oct 7 at 18:27
@roaima, when is defined explicit list of commands
â Romeo Ninov
Oct 7 at 19:03
@roaima, when is defined explicit list of commands
â Romeo Ninov
Oct 7 at 19:03
 |Â
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-centos%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
Oct 7 at 15:52
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
Oct 7 at 17:51
@roaima, right. But it depend what is configured for
sudo
. :)â Romeo Ninov
Oct 7 at 17:58
@RomeoNinov what's your exception use case? I've yet to see one, so I'd be interested.
â roaima
Oct 7 at 18:27
@roaima, when is defined explicit list of commands
â Romeo Ninov
Oct 7 at 19:03