Hi,
I have an host running Knoppix 3.8.1 from CD: I started the Knoppix Terminal Server on it.
I have another host: I booted it off the Terminal Server using PXE.
Knoppix booted up fine on the client host, but when I tried to start a root session (su -), sudo didn't work, I got the following error message:
That prevents you running any root task with sudo on the client host.sudo: must be setuid root
Here is an excerpt from the sudo FAQ:
Indeed, if I issue the 'mount' command, I see that the /cdrom filesystem is mounted on the host client via NFS from the Terminal Server with the nosuid option.Sudo must be setuid root to do its work. You need to do something like `chmod 4111 /usr/local/bin/sudo'. Also, the file system sudo resides on must *not* be mounted (or exported) with the nosuid option or sudo will not be able to work. Another possibility is you may have '.' in your $PATH before the directory containing sudo. If you are going to have '.' in your path you should make sure it is at the end.
I need to run some root tasks (e.g. mount a local partition) on the client host.
How can I fix the problem or workaround it?
Thanks.
Lenovo ThinkPad T490s 14" Touch (i5-8365U - 16GB RAM - 256GB SSD - Win11Pro)
$129.92
15.6" Lenovo ThinkPad Laptop PC: Intel i5 16GB RAM 512 SSD Windows 10 Webcam
$229.99
Lenovo LOQ Laptop, i7-13700H, GB, Up to 1TB SSD, Up To Win 11 Pro
$613.99
Lenovo ThinkPad X1 Yoga Gen 6 i7-1185G7 FHD Touch 16GB RAM/512GB SSD (No O.S.)
$374.99
Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD AMD R7 5825U 16GB RAM 512GB SSD
$479.99
Lenovo LOQ 15.6" FHD 144Hz Gaming Laptop i5-12450HX 12GB RAM 512GB SSD RTX 3050
$599.99
Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD Intel Core i7-1255U 8GB RAM
$514.99
Lenovo ThinkPad T480 Laptop Intel Core i5-8350U 16GB Ram 256GB SSD 14" FHD W11P
$204.99
Lenovo ThinkPad L14 14” FHD Laptop AMD Ryzen 5 PRO 16GB RAM 512GB SSD Windows 10
$239.99
Lenovo ThinkPad E, AMD, 8GB RAM, 256GB SSD, No OS, 20T80005US
$280.00