tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Robert Prizzi <Robert.Prizzi () grc ! nasa ! gov>
To: tru64-unix-managers
Subject: Summary: Re: Command works as root but not as user, HELP
Date: Fri, 25 May 2001 12:48:23 +0000	[thread overview]
Message-ID: <102653647622115.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~2001-05-25 12:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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