cancel
Showing results for 
Search instead for 
Did you mean: 

swlist permissions

 
SOLVED
Go to solution
James Bowman_3
Occasional Advisor

swlist permissions

Folks,

I'm trying to install Oracle HTTP Server on a HP-UX 11.23 Server.

Part of the Oracle Installation program runs an swlist command to confirm if required bundles are in place. When I run the HTTP install under the Oracle ID I get the following message...

ERROR: Could not initialize security. This process does not have
super-user privilege.

There's no option to skip the check when running the installer. There is an Oracle Bug for the problem but it says to fix the OS Permissions for swlist and doesn't give any further information.

Does anyone know a way to resolve this - I don't want to run the install as root. For info, other Oracle Installations (10g) haven't had this problem, it seems to be only occuring with the Oracle HTTP Server install.

Any advice would be much appreciated.
Thanks
James
5 REPLIES
Robert-Jan Goossens_1
Honored Contributor

Re: swlist permissions

Hi James,

What are the permissions of the swlist file?

/usr/sbin/swlist -r-sr-xr-x root bin

Regards,
Robert-Jan
James Bowman_3
Occasional Advisor

Re: swlist permissions

Hi Robert-Jan,

Thanks for your response - The permissions are as follows...

(root) /tmp/OraInstall2009-02-03_09-37-39AM $ ll /usr/sbin/sw*
-rwxrwxrwx 11 bin bin 6028488 Jun 26 2006 /usr/sbin/swacl
-rwxrwxrwx 1 bin bin 2010744 Jun 26 2006 /usr/sbin/swagentd
-r-xr-xr-x 1 bin bin 35180 Mar 26 2004 /usr/sbin/swapinfo
-rwxrwxrwx 1 bin bin 73060 May 30 2005 /usr/sbin/swapon
-rwxrwxrwx 11 bin bin 6028488 Jun 26 2006 /usr/sbin/swask
-rwxrwxrwx 11 bin bin 6028488 Jun 26 2006 /usr/sbin/swconfig
-rwxrwxrwx 11 bin bin 6028488 Jun 26 2006 /usr/sbin/swcopy
-rwxrwxrwx 11 bin bin 6028488 Jun 26 2006 /usr/sbin/swinstall
-rwxrwxrwx 11 bin bin 6028488 Jun 26 2006 /usr/sbin/swjob
-rwxrwxrwx 11 bin bin 6028488 Jun 26 2006 /usr/sbin/swlist
-rwxrwxrwx 2 bin bin 3987184 Jun 26 2006 /usr/sbin/swmodify
-rwxrwxrwx 2 bin bin 3987184 Jun 26 2006 /usr/sbin/swpackage
-rwxrwxrwx 11 bin bin 6028488 Jun 26 2006 /usr/sbin/swreg
-rwxrwxrwx 11 bin bin 6028488 Jun 26 2006 /usr/sbin/swremove
-rwxrwxrwx 11 bin bin 6028488 Jun 26 2006 /usr/sbin/swverify

From what you've mentioned the permissions should be different - Is there a correct way to re-apply them?

Thanks again,
James
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: swlist permissions

Hi James,

ls -la /usr/sbin/sw*
-r-sr-xr-x 11 root bin 6057568 Mar 26 2007 /usr/sbin/swacl
-r-xr-xr-x 1 root bin 2016208 Mar 26 2007 /usr/sbin/swagentd
-r-xr-xr-x 1 root bin 35180 Mar 26 2004 /usr/sbin/swapinfo
-r-xr-xr-x 1 root bin 73060 May 30 2005 /usr/sbin/swapon
-r-sr-xr-x 11 root bin 6057568 Mar 26 2007 /usr/sbin/swask
-r-sr-xr-x 11 root bin 6057568 Mar 26 2007 /usr/sbin/swconfig
-r-sr-xr-x 11 root bin 6057568 Mar 26 2007 /usr/sbin/swcopy
-r-sr-xr-x 11 root bin 6057568 Mar 26 2007 /usr/sbin/swinstall
-r-sr-xr-x 11 root bin 6057568 Mar 26 2007 /usr/sbin/swjob
-r-sr-xr-x 11 root bin 6057568 Mar 26 2007 /usr/sbin/swlist
-r-sr-xr-x 2 root bin 3998728 Mar 26 2007 /usr/sbin/swmodify
-r-sr-xr-x 2 root bin 3998728 Mar 26 2007 /usr/sbin/swpackage
-r-sr-xr-x 11 root bin 6057568 Mar 26 2007 /usr/sbin/swreg
-r-sr-xr-x 11 root bin 6057568 Mar 26 2007 /usr/sbin/swremove
-r-sr-xr-x 11 root bin 6057568 Mar 26 2007 /usr/sbin/swverify

# chown root:bin /usr/sbin/sw*

for the files with the sbit use
# chmod 4555 /usr/sbin/swacl
The other files
# chmod 555 /usr/sbin/swagentd

Regards,
Robert-Jan
James Bowman_3
Occasional Advisor

Re: swlist permissions

Hey Robert-Jan,

That did the trick alright - Thanks a million for your help (I'll assign points now!).

James
James Bowman_3
Occasional Advisor

Re: swlist permissions

Problem sorted by modifying the file permissions.