<?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: Root user list in Secure OS Software for Linux</title>
    <link>https://community.hpe.com/t5/secure-os-software-for-linux/root-user-list/m-p/4397198#M532</link>
    <description>Another appoach is to use uname -n&lt;BR /&gt;to get the machine name in your script&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;uname -n&lt;BR /&gt;grep :0: passwd | awk -F ":" '{ print $1 '}&lt;BR /&gt;&lt;BR /&gt;I assume you know how to cook the script,&lt;BR /&gt;otherwise let us know - we help&lt;BR /&gt;</description>
    <pubDate>Wed, 08 Apr 2009 09:10:05 GMT</pubDate>
    <dc:creator>Frank de Vries</dc:creator>
    <dc:date>2009-04-08T09:10:05Z</dc:date>
    <item>
      <title>Root user list</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/root-user-list/m-p/4397196#M530</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;Is there is a command-line or script available which can generate a report of all accounts with root user equivalent privileges in Linux(SUSE and Redhat) setup, with added information on which machine the id resides., etc? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Venkatesh</description>
      <pubDate>Wed, 08 Apr 2009 03:51:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/root-user-list/m-p/4397196#M530</guid>
      <dc:creator>Venkatesh_16</dc:creator>
      <dc:date>2009-04-08T03:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Root user list</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/root-user-list/m-p/4397197#M531</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;accounts that privileges equal root have uid 0. So you can find them like&lt;BR /&gt;&lt;BR /&gt;# awk -F: '{ if ( $3==0 ) print $1 "  " $5 }' /etc/passwd&lt;BR /&gt;&lt;BR /&gt;this will print accountname "$1" and comment field "$5" of password file foreach uid-zero account.&lt;BR /&gt;&lt;BR /&gt;Put it into a file e.g. "uid0.awk" and execute it on all your systems.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for H in $HOSTLIST; do&lt;BR /&gt;scp uid0.awk ${H}:/tmp/&lt;BR /&gt;echo "Host: $H"&lt;BR /&gt;ssh -x $H "sh /tmp/uid0.awk"&lt;BR /&gt;done &lt;BR /&gt;&lt;BR /&gt;This may be a starting point for your.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;HGH&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Apr 2009 05:43:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/root-user-list/m-p/4397197#M531</guid>
      <dc:creator>Hemmetter</dc:creator>
      <dc:date>2009-04-08T05:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Root user list</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/root-user-list/m-p/4397198#M532</link>
      <description>Another appoach is to use uname -n&lt;BR /&gt;to get the machine name in your script&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;uname -n&lt;BR /&gt;grep :0: passwd | awk -F ":" '{ print $1 '}&lt;BR /&gt;&lt;BR /&gt;I assume you know how to cook the script,&lt;BR /&gt;otherwise let us know - we help&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Apr 2009 09:10:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/root-user-list/m-p/4397198#M532</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2009-04-08T09:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Root user list</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/root-user-list/m-p/4397199#M533</link>
      <description>&amp;gt;&amp;gt;&amp;gt;  all accounts with root user equivalent privileges&lt;BR /&gt;&lt;BR /&gt;This should include a report of SUDO users, and a list of users who knows the root password and can su to root (or member of the wheel group if su has been restricted.</description>
      <pubDate>Wed, 08 Apr 2009 12:30:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/root-user-list/m-p/4397199#M533</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2009-04-08T12:30:04Z</dc:date>
    </item>
  </channel>
</rss>

