<?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: user account in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695656#M248181</link>
    <description>hi&lt;BR /&gt;&lt;BR /&gt;try logins&lt;BR /&gt;&lt;BR /&gt;shri</description>
    <pubDate>Wed, 21 Dec 2005 01:38:02 GMT</pubDate>
    <dc:creator>shridhar_1</dc:creator>
    <dc:date>2005-12-21T01:38:02Z</dc:date>
    <item>
      <title>user account</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695651#M248176</link>
      <description>Hi friend , &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; How to check the number of user account on a unix system ? &lt;BR /&gt;&lt;BR /&gt;Mridul</description>
      <pubDate>Wed, 21 Dec 2005 01:05:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695651#M248176</guid>
      <dc:creator>Mridul Dutta</dc:creator>
      <dc:date>2005-12-21T01:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: user account</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695652#M248177</link>
      <description>/usr/sbin/logins -u -&amp;gt; need root privelages.&lt;BR /&gt;who -u -&amp;gt; current logins.&lt;BR /&gt;cat /etc/passwd -&amp;gt; system and user logins.&lt;BR /&gt;&lt;BR /&gt;There might be nis/ldap users. You will have to check it on nis/ldap server.</description>
      <pubDate>Wed, 21 Dec 2005 01:10:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695652#M248177</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-12-21T01:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: user account</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695653#M248178</link>
      <description>Every Unix System Has a /etc/passwd file in which each line shows a user entry. This is easy to count these lines. Some users are Deactivated, * entry in passwd field shows that this account is disabled.&lt;BR /&gt;&lt;BR /&gt;Awadhesh</description>
      <pubDate>Wed, 21 Dec 2005 01:20:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695653#M248178</guid>
      <dc:creator>AwadheshPandey</dc:creator>
      <dc:date>2005-12-21T01:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: user account</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695654#M248179</link>
      <description>&lt;BR /&gt;Dear Mridul,&lt;BR /&gt;&lt;BR /&gt;To check the no of users logged in&lt;BR /&gt;&lt;BR /&gt;#who -q&lt;BR /&gt;&lt;BR /&gt;To check the no of user accounts in a server&lt;BR /&gt;&lt;BR /&gt;#cat /etc/passwd | wc -l &lt;BR /&gt;&lt;BR /&gt;With REgards,&lt;BR /&gt;&lt;BR /&gt;Siva.</description>
      <pubDate>Wed, 21 Dec 2005 01:21:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695654#M248179</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2005-12-21T01:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: user account</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695655#M248180</link>
      <description>you can check with /etc/passwd file. Execute logins or sam to get user details more. (super user power is needed)&lt;BR /&gt;&lt;BR /&gt;-Muthu</description>
      <pubDate>Wed, 21 Dec 2005 01:25:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695655#M248180</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-12-21T01:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: user account</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695656#M248181</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;try logins&lt;BR /&gt;&lt;BR /&gt;shri</description>
      <pubDate>Wed, 21 Dec 2005 01:38:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695656#M248181</guid>
      <dc:creator>shridhar_1</dc:creator>
      <dc:date>2005-12-21T01:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: user account</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695657#M248182</link>
      <description>Hi Mridul, &lt;BR /&gt;&lt;BR /&gt;You can use SAM to get the number of user accounts in a HP-UX server, or you can use "logins" to find it out, but it will display all NIS accounts if it is configured as primary&lt;BR /&gt;in /etc/nsswitch.conf &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 21 Dec 2005 02:00:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695657#M248182</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-12-21T02:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: user account</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695658#M248183</link>
      <description>I'm interpreting this question differently from everyone else, so I'll give you my answer in case I'm right.&lt;BR /&gt;&lt;BR /&gt;My understanding is that you want to know the user number of an individual user. Try:&lt;BR /&gt;&lt;BR /&gt;grep username /etc/passwd&lt;BR /&gt;&lt;BR /&gt;where username is the id of the user. The third field is the user number.&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Wed, 21 Dec 2005 03:00:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695658#M248183</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2005-12-21T03:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: user account</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695659#M248184</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can try &lt;BR /&gt;&lt;BR /&gt;#logins&lt;BR /&gt;&lt;BR /&gt;#logins -s ( to findout the system users)&lt;BR /&gt;&lt;BR /&gt;#logins -u ( to findout the normal user)&lt;BR /&gt;regards&lt;BR /&gt;tvs</description>
      <pubDate>Wed, 21 Dec 2005 06:22:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695659#M248184</guid>
      <dc:creator>Tvs</dc:creator>
      <dc:date>2005-12-21T06:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: user account</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695660#M248185</link>
      <description>Hi Mridul,&lt;BR /&gt;&lt;BR /&gt;if i did not misunderstand you ,you wanted&lt;BR /&gt;to know "number" of user?&lt;BR /&gt;Then;&lt;BR /&gt;logins|wc -l&lt;BR /&gt;cat -n /etc7passwd&lt;BR /&gt;listusers|wc -l&lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;&lt;BR /&gt;Pls do not forget to submit points!!!&lt;BR /&gt;:-)</description>
      <pubDate>Wed, 21 Dec 2005 06:29:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695660#M248185</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2005-12-21T06:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: user account</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695661#M248186</link>
      <description>cat -n /etc/passwd</description>
      <pubDate>Wed, 21 Dec 2005 06:30:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695661#M248186</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2005-12-21T06:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: user account</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695662#M248187</link>
      <description>This command counts the number of users in /etc/passwd not disabled (* in password field 2nd field):&lt;BR /&gt;&lt;BR /&gt;awk -F: '$2!="*" {i++};END {print i}' /etc/passwd&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Art</description>
      <pubDate>Thu, 22 Dec 2005 04:36:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695662#M248187</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2005-12-22T04:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: user account</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695663#M248188</link>
      <description>Do you want to check real user accounts or including samba, mysql,iwww and owww too?&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;# logins -u&lt;BR /&gt;smbnull         101     smbnull         101     DO NOT USE OR DELETE - needed by Samba&lt;BR /&gt;mysql           102     mysql           102&lt;BR /&gt;iwww            103     other           1&lt;BR /&gt;owww            104     other           1&lt;BR /&gt;muthu           105     users           20&lt;BR /&gt;&lt;BR /&gt;If you want to count all here then simply as,&lt;BR /&gt;&lt;BR /&gt;# logins -u | wc -l&lt;BR /&gt;&lt;BR /&gt;To get real user accounts like muthu then you've to have UID information rage to give the count on that.&lt;BR /&gt;&lt;BR /&gt;-Muthu</description>
      <pubDate>Thu, 22 Dec 2005 04:43:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-account/m-p/3695663#M248188</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-12-22T04:43:42Z</dc:date>
    </item>
  </channel>
</rss>

