Operating System - HP-UX
1833783 Members
2232 Online
110063 Solutions
New Discussion

Cannot install a depot as root.

 
SOLVED
Go to solution
Rui Vilao
Regular Advisor

Cannot install a depot as root.

Hi all,

I am trying to install a patch as root and get the error:

"testhost:/tmp/PKG1.sdpkg": You do not have the required
permissions to perform this operation. Check permissions using the
"swacl" command or see your system administrator for assistance. Or,
to manage applications designed and packaged for nonprivileged mode,
see the "run_as_superuser" option in the "sd" man page.

If I run swacl, I get:

# swacl -l host
#
# swacl Host Access Control List
#
# For host: testhost
#
# Date: Thu Jun 28 18:48:28 2007
#

ERROR: You are not authorized to perform the requested operation on
the "host" ACL at "testhost:/". Depending on whether you are
attempting to list or modify the ACL, you do not have the
required "test" or "control" permission, respectively. (Use
the "id" command to find out the identity information used by
SD to determine your access permissions.)

Any idea whats wrong here?

Any help or suggestions are welcome.

TIA,

Rui Vilao.



"We should never stop learning"_________ rui.vilao@rocketmail.com
2 REPLIES 2
John Dvorchak
Honored Contributor
Solution

Re: Cannot install a depot as root.

Try stopping and starting the swagentd. Usually in /sbin/init.d
/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start
If it has wheels or a skirt, you can't afford it.
Rui Vilao
Regular Advisor

Re: Cannot install a depot as root.

Bingo! thanks John!
"We should never stop learning"_________ rui.vilao@rocketmail.com