I think you need to remove the (ALL).
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
I think you need to remove the (ALL).
HP Desktop PC i7 8th Gen, up to 64GB RAM, 4TB SSD, Windows 11/10 Pro WiFi BT
$306.62
Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel
$26.99
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$10.95
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$11.99
Samsung 8GB 2Rx8 PC3-12800 DDR3 1600 MHz 1.5V Non-ECC DIMM Desktop Memory RAM 8G
$9.99
A-Tech 4GB 2x 2GB PC2-6400 Desktop DIMM DDR2 800 MHz Non-ECC Memory RAM 6400U 4G
$14.00
HyperX FURY DDR3 16GB 2x 8GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pins
$21.50
Hynix 4GB DDR3 PC3L-12800S 1600MHz 1Rx8 Laptop Memory Ram HMT451S6BFR8A-PB
$4.99
A-Tech 32GB 2x 16GB PC4-21300 Laptop SODIMM 260-Pin DDR4 2666 MHz Memory RAM Kit
$53.98
HP ProBook 640 G5 Laptop 14" Windows 11 Quad-Core i5 4.1GHz 8GB RAM 128GB SSD
$164.99