<?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 login in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-login/m-p/3504061#M846409</link>
    <description>you can use the following command to kill the login shells for user you want to remove. Replace &lt;USERNAME&gt; with the actual user name. &lt;BR /&gt;&lt;BR /&gt;kill `who -u | grep &lt;USERNAME&gt; | awk '{print $7}' | xargs`&lt;BR /&gt;&lt;BR /&gt;If there are multiple users you can as well give&lt;BR /&gt;&lt;BR /&gt;kill `who -u | grep -e &lt;USER1&gt; -e &lt;USER2&gt; | awk '{print $7}' | xargs`&lt;BR /&gt;&lt;/USER2&gt;&lt;/USER1&gt;&lt;/USERNAME&gt;&lt;/USERNAME&gt;</description>
    <pubDate>Tue, 15 Mar 2005 10:54:44 GMT</pubDate>
    <dc:creator>Amit Agarwal_1</dc:creator>
    <dc:date>2005-03-15T10:54:44Z</dc:date>
    <item>
      <title>user login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-login/m-p/3504057#M846405</link>
      <description>hi very simpel one&lt;BR /&gt;how do i see which user is logged into the system and how do i removed that user.&lt;BR /&gt;Reason is i have som problem with me system is haltet with a brodcast from root&lt;BR /&gt;and when i running LAST it seams that a user "holger" is logged into the system&lt;BR /&gt;&lt;BR /&gt;Peter Røge SIEMENS Denmar</description>
      <pubDate>Mon, 14 Mar 2005 10:26:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-login/m-p/3504057#M846405</guid>
      <dc:creator>Peter Roege</dc:creator>
      <dc:date>2005-03-14T10:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: user login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-login/m-p/3504058#M846406</link>
      <description>ps -ef | grep sh&lt;BR /&gt;&lt;BR /&gt;This will show you which shells are running ( a few other things as well )&lt;BR /&gt;&lt;BR /&gt;Send kill messages to the pid # for users running "shells".&lt;BR /&gt;&lt;BR /&gt;    fred 12630 12629  0  Mar  9  ttyq3     0:00 -sh&lt;BR /&gt;&lt;BR /&gt;For instance, here you would do:&lt;BR /&gt;&lt;BR /&gt;kill 12630&lt;BR /&gt;&lt;BR /&gt;to kill Fred's shell.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Oz&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Mar 2005 10:31:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-login/m-p/3504058#M846406</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-03-14T10:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: user login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-login/m-p/3504059#M846407</link>
      <description>Hi Peter,&lt;BR /&gt;&lt;BR /&gt;You can use the whodo command. &lt;BR /&gt;This also will provide you with pids to kill the user sessions, however a shutdown will do the kills on active user sessions for you. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Gideon</description>
      <pubDate>Mon, 14 Mar 2005 10:39:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-login/m-p/3504059#M846407</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2005-03-14T10:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: user login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-login/m-p/3504060#M846408</link>
      <description>who -u&lt;BR /&gt;This will show you who is logged in, the PID of their login shell, and where they logged in from.</description>
      <pubDate>Mon, 14 Mar 2005 10:54:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-login/m-p/3504060#M846408</guid>
      <dc:creator>Gordon  Morrison</dc:creator>
      <dc:date>2005-03-14T10:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: user login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-login/m-p/3504061#M846409</link>
      <description>you can use the following command to kill the login shells for user you want to remove. Replace &lt;USERNAME&gt; with the actual user name. &lt;BR /&gt;&lt;BR /&gt;kill `who -u | grep &lt;USERNAME&gt; | awk '{print $7}' | xargs`&lt;BR /&gt;&lt;BR /&gt;If there are multiple users you can as well give&lt;BR /&gt;&lt;BR /&gt;kill `who -u | grep -e &lt;USER1&gt; -e &lt;USER2&gt; | awk '{print $7}' | xargs`&lt;BR /&gt;&lt;/USER2&gt;&lt;/USER1&gt;&lt;/USERNAME&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Tue, 15 Mar 2005 10:54:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-login/m-p/3504061#M846409</guid>
      <dc:creator>Amit Agarwal_1</dc:creator>
      <dc:date>2005-03-15T10:54:44Z</dc:date>
    </item>
  </channel>
</rss>

