Quote:
Originally Posted by Omnutia
Previously I have set a root password then used the "sudo root" coommand to do things like mount drives but when I give the correct password it gives me "unrecognised command" and continues to when I type "sudo root" then says I haven't permission when I try again.
So is there any way to confer root privilages (at least for writing dirs and mounting discs) or at least stopping the error again.
Thankyou for your time
|
I didn't get your requirement well.
a. Read the 'man' for 'sudo'.
It takes the command as an argument and tries to execute as root user.
So "sudo root" is trying to execute the command "root" as a root user, which is wrong.
You should try like "sudo ls" etc.
Probably to change the permission you can try:
sudo chmod +x filename