SUDO not working but SU WORKS
Can anyone tell me why that occuring? Sudo command is not working when I provide the right password, but su works.
thnx. |
I would say sudo is not setup. You have to edit /etc/sudoers file. But to edit that file you have to use the program called visudo. As root type the command ' visudo ' to edit the file. most default sudoers file contain examples as to do what you are after.
Brian |
Quote:
|
Just in case you (or anyone else reading this) don't already know this, note that sudo asks for YOUR current password, whereas su asks for the TARGET USER'S password ...
Edit; that's the default of course. Think I've seen a mention that you can force sudo to ask for the root passwd every time. |
All times are GMT -5. The time now is 06:38 AM. |