<?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: collect user information in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/grep-user-information/m-p/6788725#M494710</link>
    <description>&lt;P&gt;If you know how to get the info from the two commands, you can just write a script that combines the output.&lt;/P&gt;</description>
    <pubDate>Sat, 26 Sep 2015 10:22:40 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2015-09-26T10:22:40Z</dc:date>
    <item>
      <title>grep user information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep-user-information/m-p/6788689#M494709</link>
      <description>&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to get user information like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;username,account status,shell,gecos,passwd expiry staus .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was not able to get all in a single command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i need to take it for more thn 300 servers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to get those.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ws able to get above information from passwd -sa and cat /etc/passwd file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I need to merge bth output in a single command.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2015 05:31:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep-user-information/m-p/6788689#M494709</guid>
      <dc:creator>krissh89</dc:creator>
      <dc:date>2015-09-26T05:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: collect user information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep-user-information/m-p/6788725#M494710</link>
      <description>&lt;P&gt;If you know how to get the info from the two commands, you can just write a script that combines the output.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2015 10:22:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep-user-information/m-p/6788725#M494710</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2015-09-26T10:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: collect user information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep-user-information/m-p/6798155#M494711</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used this command to merge the output, but I was not successfull.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{ command1 &amp;amp; command2; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you help me in merging the outputs.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2015 18:37:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep-user-information/m-p/6798155#M494711</guid>
      <dc:creator>krissh89</dc:creator>
      <dc:date>2015-09-30T18:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: collect user information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep-user-information/m-p/6798245#M494712</link>
      <description>&lt;P&gt;&amp;gt;{ command1 &amp;amp; command2; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will run the first in the background.&lt;/P&gt;&lt;P&gt;If these two commands produce one line of output for one user, you can simply use:&lt;/P&gt;&lt;P&gt;{ command1; command2; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If these two commands produce output for multiple users then you need to merge the info from each, provided there are a fixed number of lines for one command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If files are sorted and one line each and the "key" is first, you can use join(1).&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2015 06:13:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep-user-information/m-p/6798245#M494712</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2015-10-01T06:13:33Z</dc:date>
    </item>
  </channel>
</rss>

