<?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: Shell Script needed...for user account details in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/shell-script-needed-for-user-account-details/m-p/3900315#M26002</link>
    <description>Thanks buddies for great responses... :)&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 17 Nov 2006 15:24:38 GMT</pubDate>
    <dc:creator>girishb</dc:creator>
    <dc:date>2006-11-17T15:24:38Z</dc:date>
    <item>
      <title>Shell Script needed...for user account details</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shell-script-needed-for-user-account-details/m-p/3900312#M25999</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I need to write a run a script on Redhat Linux Server which must provide the following output.&lt;BR /&gt;&lt;BR /&gt;1. What all users accounts are there in the Linux OS.&lt;BR /&gt;2. What all groups each user account belongs.&lt;BR /&gt;3. When did they last login!!&lt;BR /&gt;&lt;BR /&gt;I am new bie in shell scripting..need your help on this...&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Girish</description>
      <pubDate>Fri, 17 Nov 2006 12:23:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shell-script-needed-for-user-account-details/m-p/3900312#M25999</guid>
      <dc:creator>girishb</dc:creator>
      <dc:date>2006-11-17T12:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Script needed...for user account details</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shell-script-needed-for-user-account-details/m-p/3900313#M26000</link>
      <description>Here is some : &lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;for i in $(awk -F: '$3 &amp;gt; 100 { print $1 }' /etc/passwd ); do&lt;BR /&gt;  echo User: $i "  "  Groups:  groups $i&lt;BR /&gt;  echo LastLogin: `last $i | head -1`&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Fri, 17 Nov 2006 13:11:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shell-script-needed-for-user-account-details/m-p/3900313#M26000</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2006-11-17T13:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Script needed...for user account details</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shell-script-needed-for-user-account-details/m-p/3900314#M26001</link>
      <description>Hello Girish&lt;BR /&gt;i think you don't need a script.&lt;BR /&gt;&lt;BR /&gt;You can launch 2 command:&lt;BR /&gt; &lt;BR /&gt;"who" and "finger"&lt;BR /&gt;&lt;BR /&gt;If you need a script to have a "report", the previous answear is good.&lt;BR /&gt;&lt;BR /&gt;Bye!</description>
      <pubDate>Fri, 17 Nov 2006 14:27:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shell-script-needed-for-user-account-details/m-p/3900314#M26001</guid>
      <dc:creator>Alpha977</dc:creator>
      <dc:date>2006-11-17T14:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Script needed...for user account details</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shell-script-needed-for-user-account-details/m-p/3900315#M26002</link>
      <description>Thanks buddies for great responses... :)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Nov 2006 15:24:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shell-script-needed-for-user-account-details/m-p/3900315#M26002</guid>
      <dc:creator>girishb</dc:creator>
      <dc:date>2006-11-17T15:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Script needed...for user account details</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shell-script-needed-for-user-account-details/m-p/3900316#M26003</link>
      <description>Hi Girish,&lt;BR /&gt;&lt;BR /&gt;Please take a moment to assign points to those who have take the time to assist you, here's how:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/bizsupport/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/bizsupport/helptips.do?#33&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Gary</description>
      <pubDate>Tue, 21 Nov 2006 11:29:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shell-script-needed-for-user-account-details/m-p/3900316#M26003</guid>
      <dc:creator>Gary Cantwell</dc:creator>
      <dc:date>2006-11-21T11:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Script needed...for user account details</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shell-script-needed-for-user-account-details/m-p/3900317#M26004</link>
      <description>If you are using NIS or LDAP, you may have different methods/commands.</description>
      <pubDate>Tue, 21 Nov 2006 14:03:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shell-script-needed-for-user-account-details/m-p/3900317#M26004</guid>
      <dc:creator>George Liu_4</dc:creator>
      <dc:date>2006-11-21T14:03:40Z</dc:date>
    </item>
  </channel>
</rss>

