Operating System - HP-UX
1830899 Members
3266 Online
110017 Solutions
New Discussion

Re: Some question about AutoLoader using mc command

 
SOLVED
Go to solution
Patrick Chim
Trusted Contributor

Some question about AutoLoader using mc command

Hi,

I use the mc command to control the AutoLoader for moving tape between slot and the drive. However, I can only control it using root.

> mc -p /dev/rac/c3t0d0 -r DS
ERROR: Permission denied

Is it possible to use mc by any normal unix user ?

Regards,
Patrick
2 REPLIES 2
Michael Tully
Honored Contributor

Re: Some question about AutoLoader using mc command

Hi Patrick,

If you must allow a normal user this type of access, suggest you install 'sudo' and allow them to run it this way. It is the safest method. You can get 'sudo' from here:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.6/
Anyone for a Mutiny ?
John Poff
Honored Contributor
Solution

Re: Some question about AutoLoader using mc command

Hi Patrick,

I tried it on one of our systems. The mc command is executable by the whole world, but the real problem is with the robotic device. On our system the permissions for the robotic was 640. I changed the permissions to 666 on the robotic and I was able to run the mc command as a regular user.

Now, you'll need to ask yourself if you really want to allow any user to manipulate the robotic device. It could cause you some headaches, but you can do it.

JP