<?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: security - script to check for accounts for users that have not logged in in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/security-script-to-check-for-accounts-for-users-that-have-not/m-p/5005637#M47832</link>
    <description>Gday,&lt;BR /&gt;&lt;BR /&gt;I think if you just used lastlog you would have pretty much a good start.&lt;BR /&gt;&lt;BR /&gt;Output of lastlog for one of our systems looks like:&lt;BR /&gt;&lt;BR /&gt;Username         Port     From             Latest&lt;BR /&gt;root             :0                        Tue Sep 26 13:34:15 +1000 2006&lt;BR /&gt;bin                                        **Never logged in**&lt;BR /&gt;daemon                                     **Never logged in**&lt;BR /&gt;adm                                        **Never logged in**&lt;BR /&gt;lp                                         **Never logged in**&lt;BR /&gt;sync                                       **Never logged in**&lt;BR /&gt;shutdown                                   **Never logged in**&lt;BR /&gt;halt                                       **Never logged in**&lt;BR /&gt;mail                                       **Never logged in**&lt;BR /&gt;news                                       **Never logged in**&lt;BR /&gt;uucp                                       **Never logged in**&lt;BR /&gt;operator                                   **Never logged in**&lt;BR /&gt;games                                      **Never logged in**&lt;BR /&gt;gopher                                     **Never logged in**&lt;BR /&gt;ftp                                        **Never logged in**&lt;BR /&gt;nobody                                     **Never logged in**&lt;BR /&gt;dbus                                       **Never logged in**&lt;BR /&gt;vcsa                                       **Never logged in**&lt;BR /&gt;rpm                                        **Never logged in**&lt;BR /&gt;haldaemon                                  **Never logged in**&lt;BR /&gt;netdump                                    **Never logged in**&lt;BR /&gt;nscd                                       **Never logged in**&lt;BR /&gt;sshd                                       **Never logged in**&lt;BR /&gt;rpc                                        **Never logged in**&lt;BR /&gt;mailnull                                   **Never logged in**&lt;BR /&gt;smmsp                                      **Never logged in**&lt;BR /&gt;rpcuser                                    **Never logged in**&lt;BR /&gt;pcap                                       **Never logged in**&lt;BR /&gt;apache                                     **Never logged in**&lt;BR /&gt;xfs                                        **Never logged in**&lt;BR /&gt;ntp                                        **Never logged in**&lt;BR /&gt;gdm                                        **Never logged in**&lt;BR /&gt;pegasus                                    **Never logged in**&lt;BR /&gt;fred         pts/2    192.168.1.250   Wed Sep 27 01:24:18 +1000 2006&lt;BR /&gt;barney         pts/3    192.168.1.195   Wed Sep 27 08:35:33 +1000 2006&lt;BR /&gt;&lt;BR /&gt;Robert.</description>
    <pubDate>Wed, 27 Sep 2006 19:23:24 GMT</pubDate>
    <dc:creator>Robert Walker_8</dc:creator>
    <dc:date>2006-09-27T19:23:24Z</dc:date>
    <item>
      <title>security - script to check for accounts for users that have not logged in</title>
      <link>https://community.hpe.com/t5/operating-system-linux/security-script-to-check-for-accounts-for-users-that-have-not/m-p/5005636#M47831</link>
      <description>Instead of re creating the wheel...&lt;BR /&gt;Has anyone create a script that checks to see of a user has not logged in in 90 days...</description>
      <pubDate>Tue, 26 Sep 2006 23:09:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/security-script-to-check-for-accounts-for-users-that-have-not/m-p/5005636#M47831</guid>
      <dc:creator>Ratzie</dc:creator>
      <dc:date>2006-09-26T23:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: security - script to check for accounts for users that have not logged in</title>
      <link>https://community.hpe.com/t5/operating-system-linux/security-script-to-check-for-accounts-for-users-that-have-not/m-p/5005637#M47832</link>
      <description>Gday,&lt;BR /&gt;&lt;BR /&gt;I think if you just used lastlog you would have pretty much a good start.&lt;BR /&gt;&lt;BR /&gt;Output of lastlog for one of our systems looks like:&lt;BR /&gt;&lt;BR /&gt;Username         Port     From             Latest&lt;BR /&gt;root             :0                        Tue Sep 26 13:34:15 +1000 2006&lt;BR /&gt;bin                                        **Never logged in**&lt;BR /&gt;daemon                                     **Never logged in**&lt;BR /&gt;adm                                        **Never logged in**&lt;BR /&gt;lp                                         **Never logged in**&lt;BR /&gt;sync                                       **Never logged in**&lt;BR /&gt;shutdown                                   **Never logged in**&lt;BR /&gt;halt                                       **Never logged in**&lt;BR /&gt;mail                                       **Never logged in**&lt;BR /&gt;news                                       **Never logged in**&lt;BR /&gt;uucp                                       **Never logged in**&lt;BR /&gt;operator                                   **Never logged in**&lt;BR /&gt;games                                      **Never logged in**&lt;BR /&gt;gopher                                     **Never logged in**&lt;BR /&gt;ftp                                        **Never logged in**&lt;BR /&gt;nobody                                     **Never logged in**&lt;BR /&gt;dbus                                       **Never logged in**&lt;BR /&gt;vcsa                                       **Never logged in**&lt;BR /&gt;rpm                                        **Never logged in**&lt;BR /&gt;haldaemon                                  **Never logged in**&lt;BR /&gt;netdump                                    **Never logged in**&lt;BR /&gt;nscd                                       **Never logged in**&lt;BR /&gt;sshd                                       **Never logged in**&lt;BR /&gt;rpc                                        **Never logged in**&lt;BR /&gt;mailnull                                   **Never logged in**&lt;BR /&gt;smmsp                                      **Never logged in**&lt;BR /&gt;rpcuser                                    **Never logged in**&lt;BR /&gt;pcap                                       **Never logged in**&lt;BR /&gt;apache                                     **Never logged in**&lt;BR /&gt;xfs                                        **Never logged in**&lt;BR /&gt;ntp                                        **Never logged in**&lt;BR /&gt;gdm                                        **Never logged in**&lt;BR /&gt;pegasus                                    **Never logged in**&lt;BR /&gt;fred         pts/2    192.168.1.250   Wed Sep 27 01:24:18 +1000 2006&lt;BR /&gt;barney         pts/3    192.168.1.195   Wed Sep 27 08:35:33 +1000 2006&lt;BR /&gt;&lt;BR /&gt;Robert.</description>
      <pubDate>Wed, 27 Sep 2006 19:23:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/security-script-to-check-for-accounts-for-users-that-have-not/m-p/5005637#M47832</guid>
      <dc:creator>Robert Walker_8</dc:creator>
      <dc:date>2006-09-27T19:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: security - script to check for accounts for users that have not logged in</title>
      <link>https://community.hpe.com/t5/operating-system-linux/security-script-to-check-for-accounts-for-users-that-have-not/m-p/5005638#M47833</link>
      <description>The attached file should work. Make sure it has executable permissions.</description>
      <pubDate>Thu, 28 Sep 2006 01:56:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/security-script-to-check-for-accounts-for-users-that-have-not/m-p/5005638#M47833</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2006-09-28T01:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: security - script to check for accounts for users that have not logged in</title>
      <link>https://community.hpe.com/t5/operating-system-linux/security-script-to-check-for-accounts-for-users-that-have-not/m-p/5005639#M47834</link>
      <description>awesome works for me</description>
      <pubDate>Thu, 28 Sep 2006 10:51:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/security-script-to-check-for-accounts-for-users-that-have-not/m-p/5005639#M47834</guid>
      <dc:creator>Ratzie</dc:creator>
      <dc:date>2006-09-28T10:51:02Z</dc:date>
    </item>
  </channel>
</rss>

