/usr/bin/sudo: invalid option -- '-'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Haguichi |
Fix Released
|
Wishlist
|
Stephen Brandt |
Bug Description
Using haguichi-
[mimox ~]$ haguichi
/usr/bin/sudo: invalid option -- '-'
usage: sudo -h | -K | -k | -L | -V
usage: sudo -v [-AknS] [-g groupname|#gid] [-p prompt] [-u user name|#uid]
usage: sudo -l[l] [-AknS] [-g groupname|#gid] [-p prompt] [-U user name] [-u
user name|#uid] [-g groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C fd] [-g groupname|#gid] [-p
prompt] [-u user name|#uid] [-g groupname|#gid] [VAR=value] [-i|-s]
usage: sudo -e [-AknS] [-r role] [-t type] [-C fd] [-g groupname|#gid] [-p
prompt] [-u user name|#uid] file ...
I guess whatever sudo is used for will not work in this case?
Changed in haguichi: | |
status: | Fix Committed → Fix Released |
Hi Michael,
That's normal on systems with only plain sudo available. On startup Haguichi checks if the configured sudo command is still available by running "{configured sudo command} --help". Because sudo (unlike gksudo, gnomesu, kdesudo, etc) doesn't have the option --help, it's displaying the "invalid option" message.
Please be aware that without graphical sudo command on your system (i.e. Fedora), you need to set up the right permissions to start and stop the hamachi deamon in advance.