[sudo-workers] -- does not work as expected ?

Marc Weber marco-oweber at gmx.de
Sat Jun 30 12:10:49 EDT 2007


Them manual states:
1.6.8p9                                              June 20, 2005                                             SUDO(8)
       --  The -- flag indicates that sudo should stop processing command line arguments.  It is most useful in con-
           junction with the -s flag.
So what's wrong with this statement?

marc at localhost ~ $ sudo -- echo Hello
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
            { -e file [...] | -i | -s | <command> }

If this is a bug, shall I file or fix it?

This difference man page behaviour is bad.

Marc Weber

More information about the sudo-workers mailing list