<?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: Question about sudo in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-sudo/m-p/3481532#M744550</link>
    <description>Richard,&lt;BR /&gt;&lt;BR /&gt;One  way  to go is create  a wrapper script that would  basically  do something like (we'll  call the  script:  rmscript):&lt;BR /&gt;&lt;BR /&gt;BASE=/homepages&lt;BR /&gt;rm  -rf  ${BASE}/$1&lt;BR /&gt;&lt;BR /&gt;It could then be  run like:&lt;BR /&gt;&lt;BR /&gt;$  sudo rmscript subdir1&lt;BR /&gt;&lt;BR /&gt;Some  major  tweaking is in  order, but you get the idea.&lt;BR /&gt;&lt;BR /&gt;P.s.  make sure they  don't  have write access to the script or directory it  is in. &lt;BR /&gt;&lt;BR /&gt;David</description>
    <pubDate>Tue, 08 Feb 2005 17:48:07 GMT</pubDate>
    <dc:creator>David Child_1</dc:creator>
    <dc:date>2005-02-08T17:48:07Z</dc:date>
    <item>
      <title>Question about sudo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-sudo/m-p/3481531#M744549</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;I have a quick question about sudo.&lt;BR /&gt;I have a directory called /homepages.&lt;BR /&gt;&lt;BR /&gt;Is there a way that I can give user1 root privilages only in the /homepages direcotry and all of the sub dirs but no where else?&lt;BR /&gt;&lt;BR /&gt;Or is there a way to limit rm -rf only in the /homepages direcotry and all of the sub dirs but no where else?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Richard</description>
      <pubDate>Tue, 08 Feb 2005 17:25:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-sudo/m-p/3481531#M744549</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2005-02-08T17:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Question about sudo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-sudo/m-p/3481532#M744550</link>
      <description>Richard,&lt;BR /&gt;&lt;BR /&gt;One  way  to go is create  a wrapper script that would  basically  do something like (we'll  call the  script:  rmscript):&lt;BR /&gt;&lt;BR /&gt;BASE=/homepages&lt;BR /&gt;rm  -rf  ${BASE}/$1&lt;BR /&gt;&lt;BR /&gt;It could then be  run like:&lt;BR /&gt;&lt;BR /&gt;$  sudo rmscript subdir1&lt;BR /&gt;&lt;BR /&gt;Some  major  tweaking is in  order, but you get the idea.&lt;BR /&gt;&lt;BR /&gt;P.s.  make sure they  don't  have write access to the script or directory it  is in. &lt;BR /&gt;&lt;BR /&gt;David</description>
      <pubDate>Tue, 08 Feb 2005 17:48:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-sudo/m-p/3481532#M744550</guid>
      <dc:creator>David Child_1</dc:creator>
      <dc:date>2005-02-08T17:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Question about sudo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-sudo/m-p/3481533#M744551</link>
      <description>Instead of sudo you should probably be looking at ACL (access contol lists) for something like this.</description>
      <pubDate>Tue, 08 Feb 2005 18:01:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-sudo/m-p/3481533#M744551</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-02-08T18:01:15Z</dc:date>
    </item>
  </channel>
</rss>

