|
From: | Sebastian Hilbert |
Subject: | Re: su -c now fatal on Mac? was Re: [Gnumed-devel] GNUmed 0.9.1 Release |
Date: | Thu, 7 Apr 2011 20:05:43 +0200 |
User-agent: | KMail/1.13.6 (Linux/2.6.37.3-16-desktop; KDE/4.6.0; i686; ; ) |
Am Donnerstag, 7. April 2011, 19:59:53 schrieb Sebastian Hilbert: > Am Donnerstag, 7. April 2011, 16:57:05 schrieb Jim Busser: > > On 2011-04-07, at 2:20 AM, Sebastian Hilbert wrote: > > > Please provide the output of > > > > > > su --help > > > > the above yields > > > > bash-3.2$ su --help > > su: illegal option -- h > > usage: su [-] [-flm] [login [args]] > > > > There is also the following link which strangely suggests > > > > su -c > > Please try > > man su > > then. > > 'su --help' works on Linux. > > We need to find out if your su accepts an argument to run a command. > > It might be different from '-c' http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/su.1.html nicely illustrates that there is no '-c' for your su. su [-] [-flm] [login [args]] so the args argument could be used to run the command Sebastian |
[Prev in Thread] | Current Thread | [Next in Thread] |