<?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: can sudo users change the root password? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/can-sudo-users-change-the-root-password/m-p/3803083#M266873</link>
    <description>If these users can become root on the system via sudo, they can change the root passwd.&lt;BR /&gt;&lt;BR /&gt;In fact, they will have total access just being a root user.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 09 Jun 2006 13:06:09 GMT</pubDate>
    <dc:creator>Rick Garland</dc:creator>
    <dc:date>2006-06-09T13:06:09Z</dc:date>
    <item>
      <title>can sudo users change the root password?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-sudo-users-change-the-root-password/m-p/3803077#M266867</link>
      <description>Hi, &lt;BR /&gt;I have added these lines in sudoers files: &lt;BR /&gt;&lt;BR /&gt;User_Alias FULLSUDO = sestj , serab, sebos, seglb, searj, semab, sejos, prkeg &lt;BR /&gt;&lt;BR /&gt;FULLSUDO ALL=(root) NOPASSWD: ALL &lt;BR /&gt;&lt;BR /&gt;please let me know are these users (sestj , serab, sebos, seglb, searj, semab, sejos, prkeg) able to run all the commands including #passwd command (to change the root password) &lt;BR /&gt;&lt;BR /&gt;can they change the root password? &lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Fri, 09 Jun 2006 05:57:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-sudo-users-change-the-root-password/m-p/3803077#M266867</guid>
      <dc:creator>praveen..</dc:creator>
      <dc:date>2006-06-09T05:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: can sudo users change the root password?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-sudo-users-change-the-root-password/m-p/3803078#M266868</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;They should not be able to change the root password.&lt;BR /&gt;&lt;BR /&gt;Don't take my word for it.&lt;BR /&gt;&lt;BR /&gt;Log in as root&lt;BR /&gt;&lt;BR /&gt;su - seastj&lt;BR /&gt;&lt;BR /&gt;passwd root&lt;BR /&gt;&lt;BR /&gt;If it lets you do it, modify the configuration.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 09 Jun 2006 06:09:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-sudo-users-change-the-root-password/m-p/3803078#M266868</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-06-09T06:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: can sudo users change the root password?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-sudo-users-change-the-root-password/m-p/3803079#M266869</link>
      <description>Yes they can. You have granted them the permission to assume full root privileges through sudo, so they can do absolutely anything.&lt;BR /&gt;&lt;BR /&gt;There is no technical way on a normal HP-UX to prevent anyone with full root privileges from changing the root password. &lt;BR /&gt;&lt;BR /&gt;Try it out:&lt;BR /&gt;&lt;BR /&gt;# su - sestj&lt;BR /&gt;sestj$ sudo -u root /bin/passwd root&lt;BR /&gt;or&lt;BR /&gt;sestj$ sudo -u root /sbin/passwd root&lt;BR /&gt;(changing the root password without prompting for the previous one)&lt;BR /&gt;&lt;BR /&gt;sestj$ sudo -u root vipw&lt;BR /&gt;(editing the password file directly)&lt;BR /&gt;&lt;BR /&gt;sestj$ sudo -u root vi /tcb/files/auth/r/root&lt;BR /&gt;(editing the Trusted System password file for root, perhaps substituting the password hash with their own, effectively changing the password)&lt;BR /&gt;&lt;BR /&gt;sestj$ sudo -u root -s&lt;BR /&gt;(getting a root shell)</description>
      <pubDate>Fri, 09 Jun 2006 07:00:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-sudo-users-change-the-root-password/m-p/3803079#M266869</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2006-06-09T07:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: can sudo users change the root password?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-sudo-users-change-the-root-password/m-p/3803080#M266870</link>
      <description>Praveen,&lt;BR /&gt;&lt;BR /&gt;When performing the following you'll need to know the old password:&lt;BR /&gt;sudo -u root /bin/passwd root&lt;BR /&gt;Changing password for root&lt;BR /&gt;Old password: &lt;BR /&gt;&lt;BR /&gt;But when they have sudoall rights, they can change the root passwd via "vi".&lt;BR /&gt;&lt;BR /&gt;Darrel</description>
      <pubDate>Fri, 09 Jun 2006 07:12:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-sudo-users-change-the-root-password/m-p/3803080#M266870</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2006-06-09T07:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: can sudo users change the root password?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-sudo-users-change-the-root-password/m-p/3803081#M266871</link>
      <description>Actually, you configured FULLSUDO users to destroy anything on your system including changing the root password. The entry:&lt;BR /&gt; &lt;BR /&gt;FULLSUDO ALL=(root) NOPASSWD: ALL&lt;BR /&gt; &lt;BR /&gt;The word ALL means that every command in the computer can be run by these users (not a good idea at all!). You should explicitly list the allowed commands on that line, and any command that is not listed will not be allowed. In fact, any FULLSUDO user that tries to run a disallowed command will have their failed attempt logged.</description>
      <pubDate>Fri, 09 Jun 2006 07:17:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-sudo-users-change-the-root-password/m-p/3803081#M266871</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-06-09T07:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: can sudo users change the root password?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-sudo-users-change-the-root-password/m-p/3803082#M266872</link>
      <description>Yes you basicly just gave them the keys to the castle. They can do whatever they want. &lt;BR /&gt;&lt;BR /&gt;I would follow Bill's suggestion and specify every command you want them to have access too. &lt;BR /&gt;&lt;BR /&gt;In the case of them needing the majority of the commands you could also take away commands you don't want them to have access too. How to do this is fully documented in the sudo documentation. &lt;BR /&gt;&lt;BR /&gt;Also be careful when allowing commands, allowing any shell or editor, provides a means to get more access than they may normally be allowed. There are alot of commands that you have to be careful of shells and editors are just a quick example.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jun 2006 12:49:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-sudo-users-change-the-root-password/m-p/3803082#M266872</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2006-06-09T12:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: can sudo users change the root password?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-sudo-users-change-the-root-password/m-p/3803083#M266873</link>
      <description>If these users can become root on the system via sudo, they can change the root passwd.&lt;BR /&gt;&lt;BR /&gt;In fact, they will have total access just being a root user.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jun 2006 13:06:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-sudo-users-change-the-root-password/m-p/3803083#M266873</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-06-09T13:06:09Z</dc:date>
    </item>
  </channel>
</rss>

