PDA

View Full Version : sudo defaults targetpw



ying-yang7
08-18-2004, 01:25 AM
Hi, i'd installed KNOPPIX on my HD, and I can't use the command "sudo", it tell me that the knoppix user isn't on sudoers.
Then I modify sudoers file with visudo
and I add the next line, because I want to let users run programs as root, if they have the password.

Defaults targetpw
%users ALL=(ALL) ALL

Now, with any user, I can run programs with sudo but it don't ask me the password!!!

Any idea?
Thx

champagnemojo
08-18-2004, 05:17 AM
I think you need to remove the (ALL).