Question Locked

Grant Root permissions to other users

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Dear fellows,

OS= Redhat Linux 3 AS

I am making an script from oracle user which backups all users and create dumps hard disk.

Now from same script I want copy those files on tape drive by following command:

tar -cvf /dev/st0 /oracle..............

permission denied message appears /dev/st0

Plz help me to resolve this issue.

6 replies

by marv732

If you do, try changing the permissions on /dev/st0 to say 777 (or ask your sysadmin to do it for you).
You should then be able to use the tape drive as the oracle user rather than run tar as setuid (never a good idea)

by eric.bickel

Hello,
I am building a Suse Linux enterprise server 9 sp2, and I have pulled the current patches.

When I attempt to back up I get the same failure as masoodsharif. I I have reset the permissions as Marv stated, and I can then get a back up, but when I restart the system, it changes those permissions back to the default of:
crw-rw---- 1 root disc 9
How can I lock the permissions to the 777 value?

Thanks for any help.
Eric

by nasim_danish1

Same type of problem, I was facing..
I think you need to give full permission to /dev/st0
#chmod 777 /dev/st0 and start to take backup

>tar -cvf /dev/st0 /oracle..........
bye

by grace

having same problem. were you able to solve?
pls help.

This discussion is closed to new replies.