From: TimC <tconnors@no.astro.spam.swin.accepted.edu.here.au>
Subject: Re: Problem with su
Date: 21 Aug 2002 09:22:03 GMT [thread overview]
Message-ID: <slrnam6mtr.ldd.tconnors@hexane.ssi.swin.edu.au> (raw)
In-Reply-To: 3D632963.F56388F7@peoplepc.com
Jack Patteeuw (aka Bruce) was almost, but not quite, entirely unlike tea:
> Tru64 V4.0F
>
> anyone seen this problem ?
>
> [root]/> su username -c "ls -al"
> -al: bad option(s)
>
> anything after the first word in the "command string" is ignored or causes an
> error
You've probably set up an alias in your .cshrc or .bashrc files.
One alias I came across for su was something like
alias su=/sbin/su $*
instaed of
alias su=/sbin/su "$@"
Where the latter ensures that anything in quotes remains as one
argument, and the former breaks all quoted objects up into their bits
separated by spaces.
--
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
Conclusion to my thesis --
"It is trivial to show that it is clearly obvious that this is not
woofly"
next prev parent reply other threads:[~2002-08-21 9:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-21 5:47 Problem with su Jack Patteeuw
2002-08-21 9:22 ` TimC [this message]
2002-08-22 2:18 ` Jack Patteeuw
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox