<?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: whoami in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/whoami/m-p/3121299#M8020</link>
    <description>Check user-1 and user-2 uid in /etc/passwd or /etc/shadow, and check with 'who', 'w' and 'users' who the system sees as logged in.&lt;BR /&gt;&lt;BR /&gt;There seems to be a mess with your authentication. Are you logged local or remote ?&lt;BR /&gt;&lt;BR /&gt;J</description>
    <pubDate>Mon, 17 Nov 2003 15:41:31 GMT</pubDate>
    <dc:creator>Jerome Henry</dc:creator>
    <dc:date>2003-11-17T15:41:31Z</dc:date>
    <item>
      <title>whoami</title>
      <link>https://community.hpe.com/t5/operating-system-linux/whoami/m-p/3121296#M8017</link>
      <description>Hi,&lt;BR /&gt; I am having a weird problem in linux boxes. They are behaving indifferently to the whoami command. When i  type whoami its showing a different username and also the terminal pts/2 for 5 or 6 users. I understand that each user needs to be assigned a different terminal like pts/1 pts/2 etc...but how come one tty pts/2 is used for too many users. Is that affecting the whoami to display the correct user? Any help appreciated</description>
      <pubDate>Mon, 17 Nov 2003 14:04:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/whoami/m-p/3121296#M8017</guid>
      <dc:creator>Ramesh_20</dc:creator>
      <dc:date>2003-11-17T14:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: whoami</title>
      <link>https://community.hpe.com/t5/operating-system-linux/whoami/m-p/3121297#M8018</link>
      <description>It could be normal if all of them are connected remote to your linux box. Is it the case ?&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Mon, 17 Nov 2003 15:22:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/whoami/m-p/3121297#M8018</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-11-17T15:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: whoami</title>
      <link>https://community.hpe.com/t5/operating-system-linux/whoami/m-p/3121298#M8019</link>
      <description>But i am logged in as user-1 and but it is showing as user-2!!!We are having problems while executing some scripts for monitoring and totally that screws up entire stuff</description>
      <pubDate>Mon, 17 Nov 2003 15:34:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/whoami/m-p/3121298#M8019</guid>
      <dc:creator>Ramesh_20</dc:creator>
      <dc:date>2003-11-17T15:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: whoami</title>
      <link>https://community.hpe.com/t5/operating-system-linux/whoami/m-p/3121299#M8020</link>
      <description>Check user-1 and user-2 uid in /etc/passwd or /etc/shadow, and check with 'who', 'w' and 'users' who the system sees as logged in.&lt;BR /&gt;&lt;BR /&gt;There seems to be a mess with your authentication. Are you logged local or remote ?&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Mon, 17 Nov 2003 15:41:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/whoami/m-p/3121299#M8020</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-11-17T15:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: whoami</title>
      <link>https://community.hpe.com/t5/operating-system-linux/whoami/m-p/3121300#M8021</link>
      <description>Sounds like your /var/run/utmp is up the creek.&lt;BR /&gt;&lt;BR /&gt;'who', 'w', 'whoami', 'last', and all of those sorts of tools use /var/run/utmp to keep track user logins.</description>
      <pubDate>Mon, 17 Nov 2003 19:04:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/whoami/m-p/3121300#M8021</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-11-17T19:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: whoami</title>
      <link>https://community.hpe.com/t5/operating-system-linux/whoami/m-p/3121301#M8022</link>
      <description>Oh sugar.  Forgot to say how to fix it :P&lt;BR /&gt;&lt;BR /&gt;Get everybody off the machine, zero out the file (move it aside is probably best), sign in and check again.</description>
      <pubDate>Mon, 17 Nov 2003 19:06:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/whoami/m-p/3121301#M8022</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-11-17T19:06:32Z</dc:date>
    </item>
  </channel>
</rss>

