-
yeah, I forget to mention that that little line in the sudoers file removed the sudo pass prompt, exactly the way I want it.
and to disable it edit your sudoers file and comment the line out that goes like this: "knoppix ALL=NOPASSWD :ALL" by placing an # before it
-
Wow. Now I'm confused. Could you post your /etc/sudoers file for us. ?
I'd also still like to know how you turn off the automatic granting of root access.
-
Originally Posted by
Forester
Wow. Now I'm confused. Could you post your /etc/sudoers file for us. ?
I'd also still like to know how you turn off the automatic granting of root access.
yes, I can see your pretty confused
that code block is my sudoers file, it didn't let me upload the original sudoers file so I pasted the contents.
-
I asked my question a second time because I didn't realise the first question was on page 2 and thought I must have forgotten to ask it in the first place.
I understand now. Knoppix /etc/sudoers comes with the line:
Code:
knoppix ALL=NOPASSWD: ALL
which allows you to sudo anything without a password and the wicd desktop icon thing starts up without asking for a password. Changing this to:
Code:
knoppix ALL=PASSWD: ALL
is what I thought you must mean when you wrote:
automatic granting of root access has been disabled by me
This means you can still do sudo but you need to enter your password and the wicd desktop icon thing starts up asking for your (i.e. knoppix user not root) password.
Commenting out the line means you can't sudo any commands any more and it does not matter what password you give the wicd desktop icon thing, you can't use it to do anything useful and you may even get a network connection. Hmm. I thought it would fall back to asking for the root password 'cos that was what you said it had done.
So you added an exception to /etc/sudoers allowing wicd to start up properly without a password. Good. Myself I would have done:
Code:
knoppix ALL=NOPASSWD: /usr/sbin/wicd
knoppix ALL=PASSWD: ALL
which means sudo wicd without password and sudo everything else with password.
I actually went to the LXDE menu. Desktop Session Settings (I think) and unchecked the option to start the wicd desktop icon thingy. That way I get no icon, so no password prompt, until (if) I start wicd from the LXDE menu. I still get a network connection. I still get a network connection when I boot into console mode with knoppix 2.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs
$179.99
ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID
$55.45
OWC Guardian Maximus Raid Enclosure SATA Hard Drive FireWire
$36.99
0XYHWN Dell PERC H730P PCIe 3.0 SAS 12GB RAID CONTROLLER
$65.00
Inspur LSI YZCA-00424-101 Raid Card 12Gbps HBA Controller Low Profile 9300-8i IT
$15.98
LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault
$39.00
Inspur LSI SAS3008 12Gbps SAS HBA RAID Controller Card P/N:YZCA-00424-101 Tested
$24.99
Dell 7H4CN PERC H730P Raid Controller Mini Mono12GBPS 2GB NV Cache
$44.99
ORICO 5 Bay Raid USB3.0 to SATA External Hard Drive Enclosure for 3.5'' HDD LOT
$175.99
Adaptec - ASR-7805 6Gbs SAS- PCI EXPRESS 3.0 X8 -1GB Cache RAID Controller Card
$34.98