Operating System - HP-UX
1827706 Members
3119 Online
109967 Solutions
New Discussion

swinstall / swacl problem

 
SOLVED
Go to solution
Paul R. Dittrich
Esteemed Contributor

swinstall / swacl problem

I've inherited responsibility for 7 machines running HP-UX 11.00
When I try to "swinstall" the interface comes up but I get a message that I (as root) have no permissions. Reading the sw* man pages has not enlightened me. What am I missing and how do I fix this?

Thanks in advance,
Paul
8 REPLIES 8
Vincenzo Restuccia
Honored Contributor

Re: swinstall / swacl problem

Restart swagentd.
Magdi KAMAL
Respected Contributor

Re: swinstall / swacl problem

Hi Paul,

Go to the directory /var/adm/sw/security and control the content of the file _OWNER.
And replace any existing user with root.

exempleof file _OWNER :

# default realm=node1
num_entries=2
user:toto:2
group:sys:0

will be :

# default realm=node1
num_entries=2
user:root:0
group:sys:0


Paul R. Dittrich
Esteemed Contributor

Re: swinstall / swacl problem

Vincenzo: swagentd is already running

Magdi: the _OWNER file already looks exactly like your corrected version - the owner is root

ALL: The message I'm getting is from the swinstall interface when I try to specify the source is as follows:

"hrp_db1:/SD_CDROM": You do not have the required permissions to perform this SD operation. Please check to see that you have the required permissions using the "swacl" command or see your system administrator for assistance.

The output of the "swacl -l host" command is:

# swacl -l host
#
# swacl Host Access Control List
#
# For host: hrp_db1
#
# Date: Mon Jul 2 09:29:11 2001
#

# Object Ownership: User= root
# Group=sys
# Realm=hrp_db1.wiremoldco.com
#
# default_realm=hrp_db1.wiremoldco.com
group:swadm:crwit
any_other:-r--t

I am suspicious of that "swadm" group since there is no such group defined on these servers but am reluctant to fiddle at random.
Vincenzo Restuccia
Honored Contributor

Re: swinstall / swacl problem

Paul I have the same problem and solved with restart of swagentd.
Paul R. Dittrich
Esteemed Contributor

Re: swinstall / swacl problem

Vincenzo,

Doing a "swagentd -r" worked on 4 of 7 servers.

Any further thoughts?

Paul
Michael Tully
Honored Contributor

Re: swinstall / swacl problem

Hi Paul,

There was an issue on earlier released
versions of HP-UX 11 where the root
user needed to be added to further groups
for 'sw' to work correctly.

Check the /etc/group file for differences
for the root account. If you make any
changes you should restart 'swagentd' again.

Regards
Michael
Anyone for a Mutiny ?
W.L. Alsemgeest
Occasional Advisor
Solution

Re: swinstall / swacl problem

I think that root is not allowed to install to (push) your machines. Check on every machine the rights of root with:

Show the right of van root
swacl -l root


If your SD-OV machine is not present in the swacl add it to it:

Give root@rights
swacl -l root -M user:root@:a

Give the group swadm rights to
swacl -l root -M group:swadm@:a


I think this will help you.

Further,
If You are not installing as root but as a other user, be shure to add this user also to the swacl the same way as You add root tot it. Just adding the group swadm is not enough.

Greetings,
Wim Alsemgeest
Paul R. Dittrich
Esteemed Contributor

Re: swinstall / swacl problem

Wim, you hit the bullseye! That did it.

Michael, I've added your comments to my collection of notes about the sw* utilities.

My thanks to all who replied!

Paul