<?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: sudo and root pw reset in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-and-root-pw-reset/m-p/3991373#M295783</link>
    <description>The only way to do something like that is to force them to use sudo for everything and not allow them to become root.&lt;BR /&gt;&lt;BR /&gt;Once you become root (sudo su -) you can do ANYTHING.&lt;BR /&gt;&lt;BR /&gt;I guess you could write a wrapper script for the 'passwd' command and if the argument to passwd is 'root' then error out.  But that could be easily overcome.</description>
    <pubDate>Mon, 30 Apr 2007 14:45:04 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2007-04-30T14:45:04Z</dc:date>
    <item>
      <title>sudo and root pw reset</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-and-root-pw-reset/m-p/3991372#M295782</link>
      <description>is there a way to put an entry in the sudoers file to allow someone to become root but disallow resets of the the true root password?</description>
      <pubDate>Mon, 30 Apr 2007 14:41:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-and-root-pw-reset/m-p/3991372#M295782</guid>
      <dc:creator>Michael Murphy_2</dc:creator>
      <dc:date>2007-04-30T14:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: sudo and root pw reset</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-and-root-pw-reset/m-p/3991373#M295783</link>
      <description>The only way to do something like that is to force them to use sudo for everything and not allow them to become root.&lt;BR /&gt;&lt;BR /&gt;Once you become root (sudo su -) you can do ANYTHING.&lt;BR /&gt;&lt;BR /&gt;I guess you could write a wrapper script for the 'passwd' command and if the argument to passwd is 'root' then error out.  But that could be easily overcome.</description>
      <pubDate>Mon, 30 Apr 2007 14:45:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-and-root-pw-reset/m-p/3991373#M295783</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-04-30T14:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: sudo and root pw reset</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-and-root-pw-reset/m-p/3991374#M295784</link>
      <description>The only way is to restrict which commands they can run as root. If you give them full root access (via su) in the sudoers file, they are root and can do anything they want.</description>
      <pubDate>Mon, 30 Apr 2007 14:46:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-and-root-pw-reset/m-p/3991374#M295784</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2007-04-30T14:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: sudo and root pw reset</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-and-root-pw-reset/m-p/3991375#M295785</link>
      <description>You can use sudo inside a program. First configure sudo. Then in the script use a test condition that will not allow root password to be changed.</description>
      <pubDate>Mon, 30 Apr 2007 19:51:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-and-root-pw-reset/m-p/3991375#M295785</guid>
      <dc:creator>Khashru</dc:creator>
      <dc:date>2007-04-30T19:51:20Z</dc:date>
    </item>
  </channel>
</rss>

