-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Installing 73Linux on a fresh Ubuntu 25.10 install was generating errors when checking the provided sudo password. The 73Linux script will return an error message about an invalid option to sudo. Using grep to go through the scripts and look for options passed to sudo, I was able to determine the culprit was the "-A" option, used to take the password from another source. Running from the command line results in the following:
$ sudo -A
invalid option provided
usage: sudo -h | -K | -k | -V
usage: sudo [-BknS] [-p prompt] [-D directory] [-g group] [-u user] [-i | -s] [command [arg ...]]
usage: sudo -v [-BknS] [-p prompt] [-g group] [-u user]
usage: sudo -l [-BknS] [-p prompt] [-U user] [-g group] [-u user] [command [arg ...]]
usage: sudo -e [-BknS] [-p prompt] [-D directory] [-g group] [-u user] file ...
After some research, Ubuntu 25.10 is replacing the older sudo.ws with sudo-rs as a newer and cleaner codebase, but sudo-rs does not implement the "-A" option that the 73Linux scripts rely on.
There is a workaround, you can use the Debian/Ubuntu "alternatives" system to select the older sudo.ws version and make it the standerd on your local system. This will allow the 73Linux script to run correctly.
$ sudo update-alternatives --config sudo
[sudo: authenticate] Password:
There are 2 choices for the alternative sudo (providing /usr/bin/sudo).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/cargo/bin/sudo 50 auto mode
1 /usr/bin/sudo.ws 40 manual mode
2 /usr/lib/cargo/bin/sudo 50 manual mode
Press <enter> to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/bin/sudo.ws to provide /usr/bin/sudo (sudo) in manual mode
I hope this helps anyone trying to install on Ubuntu 25.10.