* Summary: Re: Command works as root but not as user, HELP
@ 2001-05-25 12:48 Robert Prizzi
0 siblings, 0 replies; only message in thread
From: Robert Prizzi @ 2001-05-25 12:48 UTC (permalink / raw)
To: tru64-unix-managers
Thanks to all with such a quick response.
----------------- answer -----------------
The winner was Sheila Hollenbaugh with a corrected version of the command
with a response back in 5 minutes.
Also thanks to those like Jeff B. that responded with other
suggestions. The tested and working answer is:
tar cv /data >& tarout &
the > redirects standard output
the first & redirects standard error
the second & puts the whole command in the background.
Thanks to all again.
Bob P.
robert.prizzi@grc.nasa.gov
-------------- original question ---------------
At 08:28 AM 05/25/2001 -0400, you wrote:
>To All,
>I have a command that works as root, but not as a regular user.
>The command is as follows:
>
>tar cv /data 2>&1 | tee tarout
>
>The basis for the script is to tar the /data directory to tape. Take the
>standard output and put it to a file. If there is a better way,
>suggestions are welcome. I have tried many things, and this one works as
>root, but no-one else.
>Thanks,
>Bob P.
>robert.prizzi@grc.nasa.gov
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-05-25 12:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-25 12:48 Summary: Re: Command works as root but not as user, HELP Robert Prizzi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox