matthewg42 |
12-05-2006 07:34 PM |
Quote:
Originally Posted by Mithic
I logged in as root and edited it with kwrite.
I tried what you said,
Code:
# chmod 440 /etc/sudoers
and when i try to do a command (i.e)
Code:
$ sudo "modprobe psmouse"
sudo: modprobe psmouse: command not found
$
|
Now sudo appears to be functioning correctly, but your modprobe command is failing. To verify sudo's success, sudo a command which should surely succeed:
Code:
sudo echo hello world ; echo $?
If you see 0 after the hello world, sudo if fixed.
As for the psmouse module, my debian install has this built into the kernel - it is not a loadable module. You can check if this is the case with your installation with this command:
Code:
grep PSMOUSE /boot/config*
If you see "CONFIG_PSMOUSE=y", PSMOUSE is built into the kernel, not a module.
|