Operating System - HP-UX
1833702 Members
3095 Online
110062 Solutions
New Discussion

Re: New 11 v3 install - root access restrictions

 
SOLVED
Go to solution
Henry Goverde
Frequent Advisor

New 11 v3 install - root access restrictions

Hi,

Just installed 11 V3 on a few new servers and for some reason the root user has problems accessing/executing/installing some SW. I don't have much experience with 11 so I don't know where to look. Any suggestions would be appreciated.

(for example below - root is by default a member of bin)

Example of access issues:

-rwxrwxrwx 2 bin bin 364100 Oct 16 2007 make_net_recovery
-rwxrwxrwx 2 bin bin 364100 Oct 16 2007 make_tape_recovery
-r-xr-xr-x 1 bin bin 129668 Oct 16 2007 manage_index
-r-xr-xr-x 1 bin bin 92392 Oct 16 2007 print_manifest
-r-xr-xr-x 2 bin bin 98850 Oct 16 2007 save_config
# ./make_tape_recovery
sh: ./make_tape_recovery: Execute permission denied.

Hopefully this is just stupidity on my part.

Thanks in Advance,

Henry
5 REPLIES 5
OFC_EDM
Respected Contributor
Solution

Re: New 11 v3 install - root access restrictions

You're putting in ./ before the filename.

Are you in the directory with the executable?

If not it won't work.
The Devil is in the detail.
Henry Goverde
Frequent Advisor

Re: New 11 v3 install - root access restrictions

That was quick!

Thanks, you are correct.

So root should have no issues installing SW either?

Thanks in advance,

Henry
OFC_EDM
Respected Contributor

Re: New 11 v3 install - root access restrictions

I don't see why root would have any issues installing SW.

Looks like you were just in the wrong directory.

If you don't want to have to put the ./ in front you could put the directory containing the executables in your PATH.

May want to add it to your PATH in your .profile instead of the systems PATH.

Glad to give you a prompt response...I love this forum for that.
The Devil is in the detail.
Steven E. Protter
Exalted Contributor

Re: New 11 v3 install - root access restrictions

Shalom Henry,

root should have no problem installing software.

hpux depots, you will need to put an /etc/nsswitch.conf file in place from several /etc/nsswitch. in the directory or SD/UX will not work.

Applications like oracle should not be installed by the root user, so see documentation for the best method to actually install software.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Henry Goverde
Frequent Advisor

Re: New 11 v3 install - root access restrictions

Thanks for your help and advice.

Henry