<?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: super user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102503#M312110</link>
    <description>As said above there are many diffrent was to answer the question. check for user ID 0.&lt;BR /&gt;&lt;BR /&gt;#logins&lt;BR /&gt;root            0       sys &lt;BR /&gt;&lt;BR /&gt;sp,</description>
    <pubDate>Wed, 14 Nov 2007 16:47:23 GMT</pubDate>
    <dc:creator>Sp4admin</dc:creator>
    <dc:date>2007-11-14T16:47:23Z</dc:date>
    <item>
      <title>super user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102496#M312103</link>
      <description>how i can check a user ID have root(superuser) privlages ?&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Nov 2007 11:14:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102496#M312103</guid>
      <dc:creator>AA786</dc:creator>
      <dc:date>2007-11-14T11:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: super user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102497#M312104</link>
      <description>Look at the /etc/passwd entry for the user.  If the userid is 0 (zero), the user is a root equivalent with all the associated privileges.&lt;BR /&gt;&lt;BR /&gt;By the way, root equivalent users are not a particularly good idea - there should be one and only one root user.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 14 Nov 2007 11:16:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102497#M312104</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-11-14T11:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: super user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102498#M312105</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Any user with an id=0 is a root (superuser).&lt;BR /&gt;&lt;BR /&gt;Don't ever create multiple uid=0 accounts.  Not only is it a security risk, it is a disater waiting to happen when you delete one that you no longer want.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 14 Nov 2007 11:18:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102498#M312105</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-11-14T11:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: super user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102499#M312106</link>
      <description>logins -d will also show users with duplicate userids.  &lt;BR /&gt;&lt;BR /&gt;As mentioned you are interested in UID 0&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Nov 2007 11:18:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102499#M312106</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2007-11-14T11:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: super user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102500#M312107</link>
      <description>If you have root access you can run #logins&lt;BR /&gt;servera:root /root/ # logins&lt;BR /&gt;root            0       sys             3&lt;BR /&gt;daemon          1       daemon          5&lt;BR /&gt;bin             2       bin             2&lt;BR /&gt;sys             3       sys             3&lt;BR /&gt;adm             4       adm             4&lt;BR /&gt;uucp            5       sys             3&lt;BR /&gt;lp              9       lp              7&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;&lt;BR /&gt;And look for the users that have the second field of 0.  Otherwise cat /etc/passwd and look through the same list looking for 0 in the 3rd field.&lt;BR /&gt;&lt;BR /&gt;&lt;/SNIP&gt;</description>
      <pubDate>Wed, 14 Nov 2007 11:20:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102500#M312107</guid>
      <dc:creator>Dave Hutton</dc:creator>
      <dc:date>2007-11-14T11:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: super user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102501#M312108</link>
      <description>awf -F ':' '{if ($3 == 0) print $0}' /etc/passwd&lt;BR /&gt;&lt;BR /&gt;Any lines listed will have UID 0 which makes them a super-user. A much more difficult task is to determine who can become a super-user (ie who knows the root password).&lt;BR /&gt;&lt;BR /&gt;You should also note that ALL of your users have super-user privileges (at least at some times). Note that the permissions on the passwd file are read-only for all users and yet users are able to change their passwords. How can this be possible? The passwd command is a setuid program owned by root which means that the effective UID becomes 0 when the command is executed. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Nov 2007 11:38:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102501#M312108</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-11-14T11:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: super user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102502#M312109</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;awf was just misspelt my ACS - he shurely meant awk. His command can be abbreviated to&lt;BR /&gt;awk -F: '$3 == 0' /etc/passwd&lt;BR /&gt;&lt;BR /&gt;For a NIS configuration, you can check additionally&lt;BR /&gt;ypcat passwd | awk -F: '$3 == 0'&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Wed, 14 Nov 2007 13:02:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102502#M312109</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2007-11-14T13:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: super user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102503#M312110</link>
      <description>As said above there are many diffrent was to answer the question. check for user ID 0.&lt;BR /&gt;&lt;BR /&gt;#logins&lt;BR /&gt;root            0       sys &lt;BR /&gt;&lt;BR /&gt;sp,</description>
      <pubDate>Wed, 14 Nov 2007 16:47:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102503#M312110</guid>
      <dc:creator>Sp4admin</dc:creator>
      <dc:date>2007-11-14T16:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: super user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102504#M312111</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;# logins&lt;BR /&gt;root            0       sys             3&amp;gt;&amp;gt;&lt;BR /&gt;skn             0       sys             3&amp;gt;&amp;gt;&lt;BR /&gt;daemon          1       daemon          5&lt;BR /&gt;bin             2       bin             2&lt;BR /&gt;sys             3       sys             3&lt;BR /&gt;adm             4       adm             4&lt;BR /&gt;uucp            5       sys             3&lt;BR /&gt;lp              9       lp              7&lt;BR /&gt;nuucp           11      nuucp           11&lt;BR /&gt;hpdb            27      other           1       ALLBASE&lt;BR /&gt;www             30      other           1&lt;BR /&gt;webadmin        40      other           1&lt;BR /&gt;&lt;BR /&gt;those with uid 0 will have root priviledged&lt;BR /&gt;&lt;BR /&gt;WK</description>
      <pubDate>Wed, 14 Nov 2007 21:26:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102504#M312111</guid>
      <dc:creator>whiteknight</dc:creator>
      <dc:date>2007-11-14T21:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: super user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102505#M312112</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Check the /etc/passwd file for the uid no other user then root should have 0 uid.&lt;BR /&gt;&lt;BR /&gt;rgds,&lt;BR /&gt;jaivinder</description>
      <pubDate>Wed, 14 Nov 2007 23:09:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/super-user/m-p/4102505#M312112</guid>
      <dc:creator>jaivinder</dc:creator>
      <dc:date>2007-11-14T23:09:15Z</dc:date>
    </item>
  </channel>
</rss>

