[Xastir-dev] New scripts in CVS

Curt, WE7U archer at eskimo.com
Mon Nov 22 16:25:37 EST 2004


On Mon, 22 Nov 2004, Owen DeLong wrote:

> SUDO is only required for getting superuser permission to execute
> operations.
> Since Cygwin doesn't really have anything but superuser permissions (as I
> understand it, which could be wrong), SUDO really just needs to be a noop.
>
> As such, I propose the following as a Cygwin impelementation of sudo:
>
> #!/bin/sh
> exec "$@"
> exit 1
>
> I believe that if you save the above script as /bin/sudo with 555
> permissions
> (or the Cygwin equivalent), it will do the trick for making the standard
> Xastir package function.

Too late.  Already put OS-detection into the update-xastir script,
then it executes different code based on that.

Thanks though!

--
Curt, WE7U			         http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir-dev mailing list