Answers for "linux sudo command not found"

3

linux sudo command not found

Method 1: Fixing sudo command not found errors on GNU/Linux
If (Type "whereis sudo" if you "get sudo: "as a reply from  command)
 {
Hold down Ctrl, Alt and F1 or F2 to switch to a virtual 
terminal. Type root, push enter and then type the password for the 
original root user. You’ll receive a # symbol for a command prompt.
then install sudo:
#apt-get install sudo
#yum install sudo

Now from the root prompt type visudo and push enter. 
You’ll either receive a nano or vi editor screen. 
All the way at the bottom of the file include a line that has your 
user’s name followed by ALL=(ALL) ALL, keeping in mind that your user 
name is more than likely in lower case.
}

for more details go to the source.
Posted by: Guest on September-14-2021

Code answers related to "linux sudo command not found"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language