<?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 Re: Sudo Access in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-access/m-p/3554075#M225482</link>
    <description>&lt;BR /&gt;sudo is only to allow normal users to run applications as root user. it can not handle file system permissions. best method would be to assign the user to a particular group which has group write access to these two folders.&lt;BR /&gt;&lt;BR /&gt;or you can allow the user to sudo execute the applications which writes into these two  directories alone.  but remember the application will run as root and user can use them to write to any where in the system as they want.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 30 May 2005 04:23:55 GMT</pubDate>
    <dc:creator>Gopi Sekar</dc:creator>
    <dc:date>2005-05-30T04:23:55Z</dc:date>
    <item>
      <title>Sudo Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-access/m-p/3554073#M225480</link>
      <description>Hi !&lt;BR /&gt;&lt;BR /&gt;I want to give a user; access to s/w manager and permission to write within two directories using sudo....&lt;BR /&gt;&lt;BR /&gt;Directories are /usr/local and /usr/freeware..&lt;BR /&gt;&lt;BR /&gt;I don't want to change the permission of /usr/local.&lt;BR /&gt;&lt;BR /&gt;Can you please help m eon that ?</description>
      <pubDate>Mon, 30 May 2005 02:32:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-access/m-p/3554073#M225480</guid>
      <dc:creator>PVR</dc:creator>
      <dc:date>2005-05-30T02:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-access/m-p/3554074#M225481</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm afraid, you can't give permissions via sudo.&lt;BR /&gt;AFAIK, sudo can give root permissions to executables.&lt;BR /&gt;I see two possible ways to resolve the problem:&lt;BR /&gt;1. To connect the user[s] to the group sys or bin and to give write permissions in the directories for the group.&lt;BR /&gt;2. To write a script lim_cp, which works like cp, but only for these directories and insert the script into sudo.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Mon, 30 May 2005 04:09:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-access/m-p/3554074#M225481</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2005-05-30T04:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-access/m-p/3554075#M225482</link>
      <description>&lt;BR /&gt;sudo is only to allow normal users to run applications as root user. it can not handle file system permissions. best method would be to assign the user to a particular group which has group write access to these two folders.&lt;BR /&gt;&lt;BR /&gt;or you can allow the user to sudo execute the applications which writes into these two  directories alone.  but remember the application will run as root and user can use them to write to any where in the system as they want.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 May 2005 04:23:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-access/m-p/3554075#M225482</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-05-30T04:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-access/m-p/3554076#M225483</link>
      <description>if you just want to give a group of people write access to certain directories then a better solution might be to create a group for these people, assigning them to the group, changing the group id for the directories to the new group and finally giving the group write access to the directories.&lt;BR /&gt;&lt;BR /&gt;if you don't want to create a group or don't want to make the group own the directories you could use ACL for this. here's how to give access to individual users:&lt;BR /&gt;&lt;BR /&gt;setacl -m user:pvr:rwx /usr/freeware&lt;BR /&gt;&lt;BR /&gt;it might still be a good idea to create a group e.g. swmanager and use ACL to give write access to the group like this:&lt;BR /&gt;&lt;BR /&gt;setacl -m group:swmanagers:rwx /usr/freeware&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;br. aspa</description>
      <pubDate>Mon, 30 May 2005 04:39:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-access/m-p/3554076#M225483</guid>
      <dc:creator>marko asplund</dc:creator>
      <dc:date>2005-05-30T04:39:04Z</dc:date>
    </item>
  </channel>
</rss>

