<?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: useradd script for support in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131987#M450052</link>
    <description>The issue is that we are trying to make this as easy as possible for the support staff instead of myself.  :)&lt;BR /&gt;&lt;BR /&gt;I just need a script that reads in the login, name and group and runs either useradd, userdel or usermod depending on which menu item they picked.&lt;BR /&gt;&lt;BR /&gt;They already have access to sam (restricted) and don't like this option.</description>
    <pubDate>Thu, 25 Sep 2008 17:07:21 GMT</pubDate>
    <dc:creator>Stephanie L Davenport</dc:creator>
    <dc:date>2008-09-25T17:07:21Z</dc:date>
    <item>
      <title>useradd script for support</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131981#M450046</link>
      <description>Can someone please help me out with a script?&lt;BR /&gt;&lt;BR /&gt;The support people where I work need to have root access to create/modify/disable users but, we don't want to give them shell access.&lt;BR /&gt;&lt;BR /&gt;So, I have the menu set up but, I am having issues with the script that the menu would call.&lt;BR /&gt;&lt;BR /&gt;Does anyone have something similar to what I am looking for so I don't have to "reinvent the wheel"?  I just need something that will ask for the user information (login, name, group) and create the user (home dir, passwd entry, etc...) while checking to make sure that the login does not already exist.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help!&lt;BR /&gt;&lt;BR /&gt;p.s. the menu is a shell script.  I would like the useradd script to also be in shell.</description>
      <pubDate>Thu, 25 Sep 2008 16:19:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131981#M450046</guid>
      <dc:creator>Stephanie L Davenport</dc:creator>
      <dc:date>2008-09-25T16:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: useradd script for support</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131982#M450047</link>
      <description>Hi Stephanie,&lt;BR /&gt;&lt;BR /&gt;You could create a restricted shh session for the support desk, like the old sam -r (restricted) version.&lt;BR /&gt;&lt;BR /&gt;From docs.hp.com&lt;BR /&gt;&lt;BR /&gt;If you need to give limited superuser access to a nonsuperuser, you can activate the Restricted SMH Builder. Using the Restricted SMH Builder, you can enable or disable selected SMH areas for the user. To activate the Restricted SMH Builder, enter:&lt;BR /&gt;&lt;BR /&gt;# smh -r&lt;BR /&gt;&lt;BR /&gt;When users with restricted access execute SMH, they will have superuser status in the defined areas and will only see those SMH areas in the menu. All other areas of SMH will be hidden from the user. When users without access permissions execute SMH, they will receive an error message stating they must be superuser.&lt;BR /&gt;&lt;BR /&gt;You can also add more applications to SMH and set them up for restricted access.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5992-3387/ch02s11.html" target="_blank"&gt;http://docs.hp.com/en/5992-3387/ch02s11.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 25 Sep 2008 16:28:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131982#M450047</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2008-09-25T16:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: useradd script for support</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131983#M450048</link>
      <description>Add on.&lt;BR /&gt;&lt;BR /&gt;another option is the RBAC HP-UX Role-Based Access Control. Have a look at the info in below link. Software is available for 11i v2 + v3.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=AccessControl" target="_blank"&gt;http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=AccessControl&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 25 Sep 2008 16:34:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131983#M450048</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2008-09-25T16:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: useradd script for support</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131984#M450049</link>
      <description>we don't have smh loaded on the system and it is 11iv1.  :(&lt;BR /&gt;&lt;BR /&gt;Any other ideas?</description>
      <pubDate>Thu, 25 Sep 2008 16:41:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131984#M450049</guid>
      <dc:creator>Stephanie L Davenport</dc:creator>
      <dc:date>2008-09-25T16:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: useradd script for support</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131985#M450050</link>
      <description>Use webmin with restricted user. I have setup similar for adding/deleting users and mail aliases.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Thu, 25 Sep 2008 16:47:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131985#M450050</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-09-25T16:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: useradd script for support</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131986#M450051</link>
      <description>In the past we configured restricted SAM to run a password reset script as root.&lt;BR /&gt;&lt;BR /&gt;Simple to do.&lt;BR /&gt;&lt;BR /&gt;The script is the part need to concentrate on.&lt;BR /&gt;&lt;BR /&gt;1)  restrict the username that the helpdesk can change passwords for.  e.g. root, admin people, and application accounts.&lt;BR /&gt;&lt;BR /&gt;2) every activity should create an audit log, not just for the auditors but to audit who did what and when just in case an issue comes up.&lt;BR /&gt;&lt;BR /&gt;Here is the logic.&lt;BR /&gt;&lt;BR /&gt;Enter username:&lt;BR /&gt;if $username = root ||admins ||applications then exit&lt;BR /&gt;&lt;BR /&gt;Can also use a resticted list, e.g. if attempting to change password for username in list then exit.&lt;BR /&gt;&lt;BR /&gt;Pretty simple.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Sep 2008 17:02:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131986#M450051</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-09-25T17:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: useradd script for support</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131987#M450052</link>
      <description>The issue is that we are trying to make this as easy as possible for the support staff instead of myself.  :)&lt;BR /&gt;&lt;BR /&gt;I just need a script that reads in the login, name and group and runs either useradd, userdel or usermod depending on which menu item they picked.&lt;BR /&gt;&lt;BR /&gt;They already have access to sam (restricted) and don't like this option.</description>
      <pubDate>Thu, 25 Sep 2008 17:07:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131987#M450052</guid>
      <dc:creator>Stephanie L Davenport</dc:creator>
      <dc:date>2008-09-25T17:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: useradd script for support</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131988#M450053</link>
      <description>Hi Stephanie:&lt;BR /&gt;&lt;BR /&gt;If 'sudo', restricted SAM/SMH or RBAC aren't viable options for you, then your choice may be (forbid I mention this!) a 'setuid' C-wrapper for your shell script.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 25 Sep 2008 17:35:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131988#M450053</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-09-25T17:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: useradd script for support</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131989#M450054</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Take a look at my Perl script:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.circlingcycle.com.au/Unix-sources/add-batch-Unix-accounts.pl.txt" target="_blank"&gt;http://www.circlingcycle.com.au/Unix-sources/add-batch-Unix-accounts.pl.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Add options for userdel or usermod and&lt;BR /&gt;you can do it easily.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Sep 2008 03:37:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131989#M450054</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2008-09-26T03:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: useradd script for support</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131990#M450055</link>
      <description>I will continue to look for a shell script that will do a useradd.  Thanks for your help!</description>
      <pubDate>Mon, 13 Oct 2008 12:39:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-script-for-support/m-p/5131990#M450055</guid>
      <dc:creator>Stephanie L Davenport</dc:creator>
      <dc:date>2008-10-13T12:39:10Z</dc:date>
    </item>
  </channel>
</rss>

