- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Using acl on depots.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2002 05:31 AM
02-01-2002 05:31 AM
I am having trouble with swacl.
I have a software depot on one machine. I have a user who needs to have root permissions to use the depot to install software on another machine. How can I give this user access to the depot and the other machine so he can install the software but not give him root access for the whole machine?
Depot stored on: host1
target machine: host2
user = user1
I have been tinkering with swacl but a little unsure as to where I want the permissions to lie and where I want to run it.
At the moment I typed the following command on the host2, the target machine:
swacl -l depot -M user:user1:crwit \@host1:/swdepot_address
This gives the error I dont have permissions to run this command even though I am running it as root.
Also, do I want to run this command on the depot machine?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2002 06:15 AM
02-01-2002 06:15 AM
Re: Using acl on depots.
Try,
swacl -l depot -M user:user1@host2:crwit \@host1:/swdepot_directory
Also take a look at this thread,
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=807658b11dbedaeabd/screen=ckiDisplayDocument?docId=200000058669037
and do a "man swacl" for more info.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 12:21 AM
02-12-2002 12:21 AM
Re: Using acl on depots.
As I understand it, I want to create a swacl for the depot on the source machine - where the depot is stored. In the swacl I have to give the user who needs to install software all permissions so he can install all the software on differnt remote hosts.
There on the source host I typed the following command:
swacl -l depot -M user:username:cwrit /depot_path
However, this gave back the following error:
There is no depot ACL at portal:/var/spool/sw. The object is or part of a read only depot.
Frstly, why is it looking at /var/spool/sw, this is not the depot I want it to look at?
Secondly, how can I create a swacl for the depot I require so that one user can install all software on multiple hosts.
Your help is very much appreceiated.
David.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 02:41 AM
02-12-2002 02:41 AM
Re: Using acl on depots.
1. The command you typed was missing a @. It should be:
swacl -l depot -M user:username:crwit @ /depot_path
/var/spool/sw is the default SD (Software Distributor) depot. Commands like swpackage, swlist, swacl use this depot by default if no other path is specified. By adding "@" to your command, you will change the path to /depot_path.
To check if swacl was performed OK, check:
swacl -l depot @ /depot_path
2. To be able to push to different hosts, you will have to modify swacls on host systems. But to enable the push you will need /var/adm/sw/.sdkey file. This is the SD-OV license.
On host systems you need to add:
swacl -l host -M user:username@controller_name:crwit
Do the same on the root level (swacl -l root)
You can find more information on the SD security in the SD-OV Administartor's guide (Chapter 13):
http://ovweb.external.hp.com/lpe/cgi-bin/doc_serv/prod_req.pl?sd_a.02.10
Regards,
Mateja
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 02:58 AM
02-12-2002 02:58 AM
Re: Using acl on depots.
So to allow the user to install software from this depot on to other remote machines I just have to run the other command? I'm sorry, i've only been doing unix for about 9 months and a little unsure as to what you mean by "controller_name"?
Many thanks again for all your help.
Oh, I have openview installed so thats ok.
David.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 03:45 AM
02-12-2002 03:45 AM
SolutionBy controller I ment the system that initiates all the SD functions (installing the software, listing the software on a depot or target node, removing software,...).
Target system is the system being acted on by the controller when software is distributed, listed, removed, etc.
Mateja