<?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: User deletion script for use by non-root users in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-deletion-script-for-use-by-non-root-users/m-p/4864994#M397346</link>
    <description>You can get sudo from,&lt;BR /&gt;&lt;A href="http://gatekeep.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.7p5/" target="_blank"&gt;http://gatekeep.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.7p5/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Configure sudoers to particular user to get root access to delete user account.&lt;BR /&gt;&lt;BR /&gt;Another way will be with .rhosts file,&lt;BR /&gt;&lt;BR /&gt; $ROOTHOME/.rhosts&lt;BR /&gt; localhost.domainname.com &lt;USER&gt;&lt;BR /&gt;&lt;BR /&gt;  so that particular user sends remsh / rexec execution to localhost with root user to delete that users. IT is easy to do it.&lt;BR /&gt;&lt;BR /&gt; Configure root users .rhost with root user for the allowed users there to do action. But it give the root access to execute anything on your machine. [ Avoid this ]&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;/USER&gt;</description>
    <pubDate>Tue, 12 Oct 2004 04:46:30 GMT</pubDate>
    <dc:creator>Muthukumar_5</dc:creator>
    <dc:date>2004-10-12T04:46:30Z</dc:date>
    <item>
      <title>User deletion script for use by non-root users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-deletion-script-for-use-by-non-root-users/m-p/4864990#M397342</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Every day, I get a list of users to delete passed to me from our Helpdesk people. While I know that this is a quick "userdel -r" to get rid of each of them, it is still an extra step in our security process which i'd like to consolidate.&lt;BR /&gt;&lt;BR /&gt;Our Helpdesk already delete all the users application and other OS accounts and they also set up the HP-UX users, so i'd like them to be able to remove the HP-UX accounts also.&lt;BR /&gt;&lt;BR /&gt;I realise that there are inherent dangers with this and I wondered if anyone had a good way to go about this.&lt;BR /&gt;&lt;BR /&gt;Any Help Appreciated&lt;BR /&gt;&lt;BR /&gt;Michael</description>
      <pubDate>Tue, 12 Oct 2004 04:22:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-deletion-script-for-use-by-non-root-users/m-p/4864990#M397342</guid>
      <dc:creator>Michael Campbell</dc:creator>
      <dc:date>2004-10-12T04:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: User deletion script for use by non-root users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-deletion-script-for-use-by-non-root-users/m-p/4864991#M397343</link>
      <description>use sudo to give selected commands right to other users. You can use restricted sam as well.&lt;BR /&gt;&lt;BR /&gt;Sunil</description>
      <pubDate>Tue, 12 Oct 2004 04:30:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-deletion-script-for-use-by-non-root-users/m-p/4864991#M397343</guid>
      <dc:creator>Sunil Sharma_1</dc:creator>
      <dc:date>2004-10-12T04:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: User deletion script for use by non-root users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-deletion-script-for-use-by-non-root-users/m-p/4864992#M397344</link>
      <description>Hi Michael,&lt;BR /&gt;&lt;BR /&gt;'Sudo' is the best way. Search the forums on how to download it.&lt;BR /&gt;&lt;BR /&gt;Another way is to setup 'restricted SAM'. RUn 'sam -r' as root and give access to only those areas that you want the users to run.&lt;BR /&gt;&lt;BR /&gt;Becareful while setting up 'sudoers' file for sudo as you can inadvertantly open up security holes.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 12 Oct 2004 04:35:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-deletion-script-for-use-by-non-root-users/m-p/4864992#M397344</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-10-12T04:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: User deletion script for use by non-root users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-deletion-script-for-use-by-non-root-users/m-p/4864993#M397345</link>
      <description>Write your script with associated checks for a vlaid username (not root, etc) and perform the userdel within the script. It should only run as root (*NO* suid). The use sudo for the helpdesk people to run the script. There is no such thing as a secure suid script, so use sudo (sudoers file) to limit what scripts and commands the helpdesk can use.</description>
      <pubDate>Tue, 12 Oct 2004 04:39:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-deletion-script-for-use-by-non-root-users/m-p/4864993#M397345</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-10-12T04:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: User deletion script for use by non-root users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-deletion-script-for-use-by-non-root-users/m-p/4864994#M397346</link>
      <description>You can get sudo from,&lt;BR /&gt;&lt;A href="http://gatekeep.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.7p5/" target="_blank"&gt;http://gatekeep.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.7p5/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Configure sudoers to particular user to get root access to delete user account.&lt;BR /&gt;&lt;BR /&gt;Another way will be with .rhosts file,&lt;BR /&gt;&lt;BR /&gt; $ROOTHOME/.rhosts&lt;BR /&gt; localhost.domainname.com &lt;USER&gt;&lt;BR /&gt;&lt;BR /&gt;  so that particular user sends remsh / rexec execution to localhost with root user to delete that users. IT is easy to do it.&lt;BR /&gt;&lt;BR /&gt; Configure root users .rhost with root user for the allowed users there to do action. But it give the root access to execute anything on your machine. [ Avoid this ]&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;/USER&gt;</description>
      <pubDate>Tue, 12 Oct 2004 04:46:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-deletion-script-for-use-by-non-root-users/m-p/4864994#M397346</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-10-12T04:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: User deletion script for use by non-root users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-deletion-script-for-use-by-non-root-users/m-p/4864995#M397347</link>
      <description>Thanks Everyone.&lt;BR /&gt;&lt;BR /&gt;I think i'll go with restricted SAM.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;MIchael</description>
      <pubDate>Tue, 12 Oct 2004 05:44:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-deletion-script-for-use-by-non-root-users/m-p/4864995#M397347</guid>
      <dc:creator>Michael Campbell</dc:creator>
      <dc:date>2004-10-12T05:44:24Z</dc:date>
    </item>
  </channel>
</rss>

