1825731 Members
2695 Online
109687 Solutions
New Discussion

Re: swlist issue

 
Cliff Lim Kok Hwee
Regular Advisor

swlist issue

Gd Day Forum,

My application team requires to perform the command swlist on hp-ux 11i serverA and encountered the following error.

WARNING: Security access denied to file "//var/adm/sw/products/INDEX".
ERROR: "serverA:/": 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.

Query: How do I encounter them swlist access?

Thanks/cliff
4 REPLIES 4
Michael Tully
Honored Contributor

Re: swlist issue

If you encountering this problem as a normal user you will need to get your SA to look at perhaps your ACL's. Here is an example of permissions.

# swacl -l host
#
# swacl Host Access Control List
#
# For host: myhost
#
# Date: Wed Nov 17 12:36:50 2004
#

# Object Ownership: User= root
# Group=sys
# Realm=myhost.domain.com
#
# default_realm=myhost.domain.com
user:ids:-r---
any_other:-r---

The part you may need to look at is the permissions and users. See the swacl man page on how.
Anyone for a Mutiny ?
Con O'Kelly
Honored Contributor

Re: swlist issue

Hi Cliff

I have seen this error before and from what I remember it didn't have too much to do with ACL's.

I would try restarting the swagentd process
# /usr/sbin/swagentd -r

Cheers
Con
Cliff Lim Kok Hwee
Regular Advisor

Re: swlist issue

Hi Guys,

I restarted /usr/sbin/swagentd -r and do not help.

thanks/cliff
twang
Honored Contributor

Re: swlist issue

To use swacl and see if it is ok:
# swacl -l depot @ :/cdrom/

and you can use the following command to see any problems:
# swverify -d @ :/cdrom/