<?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: Doing root tasks without root access in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/doing-root-tasks-without-root-access/m-p/4007611#M298328</link>
    <description>what "they" need to do to make this happen is right a wrapper script that runs passwd, and then allow you to sudo the wrapper.&lt;BR /&gt;&lt;BR /&gt;the wrapper would examine the userid that you are attempting to change and then either allow it or not.&lt;BR /&gt;&lt;BR /&gt;you can't perform the task specified in the environment you described...(ie no sudo, sam....)</description>
    <pubDate>Sat, 26 May 2007 09:34:09 GMT</pubDate>
    <dc:creator>OldSchool</dc:creator>
    <dc:date>2007-05-26T09:34:09Z</dc:date>
    <item>
      <title>Doing root tasks without root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doing-root-tasks-without-root-access/m-p/4007607#M298324</link>
      <description>&lt;!--!*#--&gt;Hi everyone&lt;BR /&gt;&lt;BR /&gt;I have been asked to do the following jobs without having root/sudo/SAM access or access to command passwd (except for changing my own password)&lt;BR /&gt;&lt;BR /&gt;1) create users&lt;BR /&gt;2) change password of other users&lt;BR /&gt;3) enable /disable users&lt;BR /&gt;4) kill processes not belonging to me/group&lt;BR /&gt;&lt;BR /&gt;Is there any way to do this?&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;</description>
      <pubDate>Sat, 26 May 2007 02:20:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doing-root-tasks-without-root-access/m-p/4007607#M298324</guid>
      <dc:creator>emealogistics</dc:creator>
      <dc:date>2007-05-26T02:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Doing root tasks without root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doing-root-tasks-without-root-access/m-p/4007608#M298325</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The easiest way is to install and configure sudo, sudo will let you perform admin(root) tasks under your own userid. In you case you would need to configure the root commands useradd, userdel, passwd, usermod and kill. &lt;BR /&gt;&lt;BR /&gt;docs&lt;BR /&gt;&lt;A href="http://www.courtesan.com/sudo/intro.html" target="_blank"&gt;http://www.courtesan.com/sudo/intro.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;software&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p12/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p12/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Sat, 26 May 2007 05:36:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doing-root-tasks-without-root-access/m-p/4007608#M298325</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-05-26T05:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Doing root tasks without root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doing-root-tasks-without-root-access/m-p/4007609#M298326</link>
      <description>&lt;!--!*#--&gt;Hi Rob&lt;BR /&gt;&lt;BR /&gt;Thanks for replying. Unfortunately I will not be able to get sudo rights (makes no sense to me).&lt;BR /&gt;&lt;BR /&gt;The reason why they won't allow me use of passwd is that they think that I can change the password for root. Is it possible to have rights to passwd and not change the root password?</description>
      <pubDate>Sat, 26 May 2007 06:17:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doing-root-tasks-without-root-access/m-p/4007609#M298326</guid>
      <dc:creator>emealogistics</dc:creator>
      <dc:date>2007-05-26T06:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Doing root tasks without root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doing-root-tasks-without-root-access/m-p/4007610#M298327</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;you can look at restricted SAM&lt;BR /&gt;&lt;BR /&gt;sam -r to configure. &lt;BR /&gt;&lt;BR /&gt; it allows a user access to only those processes defined to their id</description>
      <pubDate>Sat, 26 May 2007 08:29:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doing-root-tasks-without-root-access/m-p/4007610#M298327</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2007-05-26T08:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Doing root tasks without root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doing-root-tasks-without-root-access/m-p/4007611#M298328</link>
      <description>what "they" need to do to make this happen is right a wrapper script that runs passwd, and then allow you to sudo the wrapper.&lt;BR /&gt;&lt;BR /&gt;the wrapper would examine the userid that you are attempting to change and then either allow it or not.&lt;BR /&gt;&lt;BR /&gt;you can't perform the task specified in the environment you described...(ie no sudo, sam....)</description>
      <pubDate>Sat, 26 May 2007 09:34:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doing-root-tasks-without-root-access/m-p/4007611#M298328</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2007-05-26T09:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Doing root tasks without root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doing-root-tasks-without-root-access/m-p/4007612#M298329</link>
      <description>You CAN NOT do those tasks without some sort of root level access.  It is IMPOSSIBLE!&lt;BR /&gt;&lt;BR /&gt;You MUST be able to run the commands as root to: create users, change other users passwords, enable/disable users and kill others processes.&lt;BR /&gt;&lt;BR /&gt;Now that being said, one option may be to write a script / program that runs as a setuid program (ie. permissions are something like root:security for owner group and rwsr-x--- for permissions) that will give you menu choices and ask you to enter the appropriate user you wish to modify.  This program / script can do a check to see if you enter 'root' for a user name. If you do, it could throw an error.&lt;BR /&gt;&lt;BR /&gt;Access to this could be controlled by creating a "security" group.  Whoever needs to run this program / script gets added to the security group.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 26 May 2007 10:01:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doing-root-tasks-without-root-access/m-p/4007612#M298329</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-05-26T10:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Doing root tasks without root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doing-root-tasks-without-root-access/m-p/4007613#M298330</link>
      <description>And to emphasize the security aspects of these tasks: you need skill in writing programs as well as how to protect them so access is secure. You can hire a consultant to write the program(s) for you. Be sure that the consultant has the necessary skills for both security as well as programming. And make sure the program logs every activity.&lt;BR /&gt; &lt;BR /&gt;Or you use sudo. It is a severe security and stability risk to 'work around' security without sudo. I say stability because an improperly written tool may allow a user to accidentally remove every file in your computer with one command (as root). sudo is mandatory for distributed sysadmin privileges.</description>
      <pubDate>Sat, 26 May 2007 10:45:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doing-root-tasks-without-root-access/m-p/4007613#M298330</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-05-26T10:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Doing root tasks without root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doing-root-tasks-without-root-access/m-p/4007614#M298331</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am using a package that allows one to do exactly what you are asking for. Not only does it do that but it can be customised for your needs and environment quite easily and is quite easy to maintain. It also logs everything that it does, who issued what command etc.&lt;BR /&gt;&lt;BR /&gt;If you are interested in this email me at djason at mhg dot co dot za and I will put you in touch with this company.</description>
      <pubDate>Mon, 28 May 2007 02:01:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doing-root-tasks-without-root-access/m-p/4007614#M298331</guid>
      <dc:creator>DavidJ</dc:creator>
      <dc:date>2007-05-28T02:01:54Z</dc:date>
    </item>
  </channel>
</rss>

