<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Using acl on depots. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-acl-on-depots/m-p/2657052#M47439</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am having trouble with swacl.&lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;Depot stored on: host1&lt;BR /&gt;target machine: host2&lt;BR /&gt;user = user1&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;At the moment I typed the following command on the host2, the target machine:&lt;BR /&gt;&lt;BR /&gt;swacl -l depot -M user:user1:crwit \@host1:/swdepot_address&lt;BR /&gt;&lt;BR /&gt;This gives the error I dont have permissions to run this command even though I am running it as root.&lt;BR /&gt;Also, do I want to run this command on the depot machine?</description>
    <pubDate>Fri, 01 Feb 2002 13:31:23 GMT</pubDate>
    <dc:creator>David Heath_1</dc:creator>
    <dc:date>2002-02-01T13:31:23Z</dc:date>
    <item>
      <title>Using acl on depots.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-acl-on-depots/m-p/2657052#M47439</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am having trouble with swacl.&lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;Depot stored on: host1&lt;BR /&gt;target machine: host2&lt;BR /&gt;user = user1&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;At the moment I typed the following command on the host2, the target machine:&lt;BR /&gt;&lt;BR /&gt;swacl -l depot -M user:user1:crwit \@host1:/swdepot_address&lt;BR /&gt;&lt;BR /&gt;This gives the error I dont have permissions to run this command even though I am running it as root.&lt;BR /&gt;Also, do I want to run this command on the depot machine?</description>
      <pubDate>Fri, 01 Feb 2002 13:31:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-acl-on-depots/m-p/2657052#M47439</guid>
      <dc:creator>David Heath_1</dc:creator>
      <dc:date>2002-02-01T13:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using acl on depots.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-acl-on-depots/m-p/2657053#M47440</link>
      <description>Hi David,&lt;BR /&gt;&lt;BR /&gt;Try,&lt;BR /&gt;&lt;BR /&gt;swacl -l depot -M user:user1@host2:crwit \@host1:/swdepot_directory&lt;BR /&gt;&lt;BR /&gt;Also take a look at this thread,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support3.external.hp.com/cki/bin/doc.pl/sid=807658b11dbedaeabd/screen=ckiDisplayDocument?docId=200000058669037" target="_blank"&gt;http://us-support3.external.hp.com/cki/bin/doc.pl/sid=807658b11dbedaeabd/screen=ckiDisplayDocument?docId=200000058669037&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and do a "man swacl" for more info.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Feb 2002 14:15:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-acl-on-depots/m-p/2657053#M47440</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-02-01T14:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using acl on depots.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-acl-on-depots/m-p/2657054#M47441</link>
      <description>Hello, thanks for the reply.  I have only just got round to testing this but have still got some problems.  Looking under the man pages I have been learing all about swacl!&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;There on the source host I typed the following command:&lt;BR /&gt;&lt;BR /&gt;swacl -l depot -M user:username:cwrit /depot_path&lt;BR /&gt;&lt;BR /&gt;However, this gave back the following error:&lt;BR /&gt;&lt;BR /&gt;There is no depot ACL at portal:/var/spool/sw.  The object is or part of a read only depot.&lt;BR /&gt;&lt;BR /&gt;Frstly, why is it looking at /var/spool/sw, this is not the depot I want it to look at?&lt;BR /&gt;&lt;BR /&gt;Secondly, how can I create a swacl for the depot I require so that one user can install all software on multiple hosts.&lt;BR /&gt;&lt;BR /&gt;Your help is very much appreceiated.&lt;BR /&gt;&lt;BR /&gt;David.</description>
      <pubDate>Tue, 12 Feb 2002 08:21:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-acl-on-depots/m-p/2657054#M47441</guid>
      <dc:creator>David Heath_1</dc:creator>
      <dc:date>2002-02-12T08:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using acl on depots.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-acl-on-depots/m-p/2657055#M47442</link>
      <description>Hi David,&lt;BR /&gt;&lt;BR /&gt;1. The command you typed was missing a @.  It should be:&lt;BR /&gt;&lt;BR /&gt;swacl -l depot -M user:username:crwit @ /depot_path&lt;BR /&gt;&lt;BR /&gt;/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.  &lt;BR /&gt;&lt;BR /&gt;To check if swacl was performed OK, check:&lt;BR /&gt;&lt;BR /&gt;swacl -l depot @ /depot_path&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;On host systems you need to add:&lt;BR /&gt;&lt;BR /&gt;swacl -l host -M user:username@controller_name:crwit &lt;BR /&gt;&lt;BR /&gt;Do the same on the root level (swacl -l root)&lt;BR /&gt;&lt;BR /&gt;You can find more information on the SD security in the SD-OV Administartor's guide (Chapter 13):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://ovweb.external.hp.com/lpe/cgi-bin/doc_serv/prod_req.pl?sd_a.02.10" target="_blank"&gt;http://ovweb.external.hp.com/lpe/cgi-bin/doc_serv/prod_req.pl?sd_a.02.10&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mateja</description>
      <pubDate>Tue, 12 Feb 2002 10:41:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-acl-on-depots/m-p/2657055#M47442</guid>
      <dc:creator>Mateja Bezjak</dc:creator>
      <dc:date>2002-02-12T10:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using acl on depots.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-acl-on-depots/m-p/2657056#M47443</link>
      <description>Excellent!! I understand now.  I ran this command and the user is in the acl for the depot. &lt;BR /&gt;&lt;BR /&gt;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"?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Many thanks again for all your help.&lt;BR /&gt;&lt;BR /&gt;Oh, I have openview installed so thats ok.&lt;BR /&gt;&lt;BR /&gt;David.&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Feb 2002 10:58:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-acl-on-depots/m-p/2657056#M47443</guid>
      <dc:creator>David Heath_1</dc:creator>
      <dc:date>2002-02-12T10:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using acl on depots.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-acl-on-depots/m-p/2657057#M47444</link>
      <description>Hi David,&lt;BR /&gt;&lt;BR /&gt;By 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,...).&lt;BR /&gt;&lt;BR /&gt;Target system is the system being acted on by the controller when software is distributed, listed, removed, etc.&lt;BR /&gt;&lt;BR /&gt;Mateja</description>
      <pubDate>Tue, 12 Feb 2002 11:45:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-acl-on-depots/m-p/2657057#M47444</guid>
      <dc:creator>Mateja Bezjak</dc:creator>
      <dc:date>2002-02-12T11:45:09Z</dc:date>
    </item>
  </channel>
</rss>

