<?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: asroot command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/asroot-command/m-p/2784936#M754040</link>
    <description>You should look into "sudo", available from the porting and archive center.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Tue, 13 Aug 2002 09:30:14 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2002-08-13T09:30:14Z</dc:date>
    <item>
      <title>asroot command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/asroot-command/m-p/2784934#M754038</link>
      <description>Hi&lt;BR /&gt;I'd like to know is there any command like asroot (in SCO) to execute some command (like shutdown or kill) as user root&lt;BR /&gt;&lt;BR /&gt;Rgds</description>
      <pubDate>Tue, 13 Aug 2002 09:09:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/asroot-command/m-p/2784934#M754038</guid>
      <dc:creator>Tomek_1</dc:creator>
      <dc:date>2002-08-13T09:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: asroot command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/asroot-command/m-p/2784935#M754039</link>
      <description>For some specific functions we had to write a small "C" pgm that calls the command / script.&lt;BR /&gt;We then change the set owner bit (chmod +s) to become this user.&lt;BR /&gt;In some instances we have to call the setuid() function in the "C" pgm.&lt;BR /&gt;&lt;BR /&gt;We put ACLs on the executable.&lt;BR /&gt;&lt;BR /&gt;This works fine.&lt;BR /&gt;&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Tue, 13 Aug 2002 09:25:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/asroot-command/m-p/2784935#M754039</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2002-08-13T09:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: asroot command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/asroot-command/m-p/2784936#M754040</link>
      <description>You should look into "sudo", available from the porting and archive center.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 13 Aug 2002 09:30:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/asroot-command/m-p/2784936#M754040</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-08-13T09:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: asroot command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/asroot-command/m-p/2784937#M754041</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;There are no specific commands but&lt;BR /&gt;&lt;BR /&gt;To allow a user to shut the system down you can use the sam builder to assign some of the sam functions to a user. As root run sam -r&lt;BR /&gt;&lt;BR /&gt;Unix uses SUID and SGID bits on file permissions to all the users executing a command to have priviliges of root for the time the command is executed&lt;BR /&gt;&lt;BR /&gt;for eg&lt;BR /&gt;&lt;BR /&gt;The passwd command&lt;BR /&gt;&lt;BR /&gt;-r-sr-xr-x   1 root       bin          86016 Jan  9  1998 /usr/bin/passwd&lt;BR /&gt;&lt;BR /&gt;Has the SUID set which allows the user to have the priviliges of the owner and modify the /etc/passwd file&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Aug 2002 09:40:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/asroot-command/m-p/2784937#M754041</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-08-13T09:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: asroot command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/asroot-command/m-p/2784938#M754042</link>
      <description>Here's the "sudo" url for you:&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.6/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.6/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 13 Aug 2002 10:03:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/asroot-command/m-p/2784938#M754042</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-08-13T10:03:25Z</dc:date>
    </item>
  </channel>
</rss>

