On Sun, Feb 10, 2008 at 11:06:29PM +0100, Daniel Hahler wrote: > Package: menu > Version: 2.1.37 > Severity: wishlist > Tags: patch > > It does not seem to be possible to call a command with arguments, using > su-to-root, e.g. "su-to-root -c apt-get install foo" does not work > (error: command "apt-get install foo" not found).
Of course you can: the manual page say: -c <command> The command to execute as a string. This option is mandatory. so you should do su-to-root -c "apt-get install foo" which works fine. Cheers, -- Bill. <[EMAIL PROTECTED]> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]