<?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: LOG IN in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425416#M759451</link>
    <description>(sorry for my staggered answer. rather early in the morning.)&lt;BR /&gt;&lt;BR /&gt;if you are using cde, &lt;BR /&gt;&lt;BR /&gt;1. cp /usr/dt/sys.dtprofile /etc/dt&lt;BR /&gt;&lt;BR /&gt;2. add the script from anthony&lt;BR /&gt;&lt;BR /&gt;3. make sure users don't have .dtprofile&lt;BR /&gt;   in their home-directories.&lt;BR /&gt;&lt;BR /&gt;should do the trick.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 09 Jun 2000 07:08:19 GMT</pubDate>
    <dc:creator>Dan Am</dc:creator>
    <dc:date>2000-06-09T07:08:19Z</dc:date>
    <item>
      <title>LOG IN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425405#M759440</link>
      <description>I want to limit the users from logging in more than once. How do I do this?  We are using HP-UX 10.20 and K-class server.  NIS is also being used.  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Jun 2000 05:29:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425405#M759440</guid>
      <dc:creator>Richard Barcellano</dc:creator>
      <dc:date>2000-06-08T05:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: LOG IN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425406#M759441</link>
      <description>write an SUID script, that triggeres a deletion routine on the NIS-Master Server.  &lt;BR /&gt;&lt;BR /&gt;this gets started from a global login-file or the users ,say .dtprofile that you have to secure properly (i.e. ownwership root with r-x for everybody&lt;BR /&gt;&lt;BR /&gt;my 0.02, have a try.&lt;BR /&gt;&lt;BR /&gt;dan&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Jun 2000 06:16:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425406#M759441</guid>
      <dc:creator>Dan Am</dc:creator>
      <dc:date>2000-06-08T06:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: LOG IN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425407#M759442</link>
      <description>I think this has been asked before maybe its time for a Forums FAQ :-) how many points would I get for that... Anyway back to the topic&lt;BR /&gt;try this..&lt;BR /&gt;&lt;BR /&gt;In your /etc/profile add the following lines &lt;BR /&gt;&lt;BR /&gt;USER=$(whoami)&lt;BR /&gt;NBCNX=`who -H | grep ${USER} | grep -v root | wc -l`&lt;BR /&gt;&lt;BR /&gt;if [ ${NBCNX} -gt 2 ]&lt;BR /&gt;then &lt;BR /&gt;echo "MSG login restrited"&lt;BR /&gt;exit&lt;BR /&gt;fi &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Jun 2000 06:45:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425407#M759442</guid>
      <dc:creator>Anthony Goonetilleke</dc:creator>
      <dc:date>2000-06-08T06:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: LOG IN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425408#M759443</link>
      <description>I am not familiar with NIS.&lt;BR /&gt;How do I create that SUID script in NIS.&lt;BR /&gt;Please write the procedure.&lt;BR /&gt;&lt;BR /&gt;Thank you very much&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Jun 2000 06:46:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425408#M759443</guid>
      <dc:creator>Richard Barcellano</dc:creator>
      <dc:date>2000-06-08T06:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: LOG IN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425409#M759444</link>
      <description>please clarify: &lt;BR /&gt;do you want the user to be deleted after first login? that was my answer.&lt;BR /&gt;&lt;BR /&gt;or do you want to have only one &lt;BR /&gt;login at a time ? &lt;BR /&gt;then Anthonys script points the way.</description>
      <pubDate>Thu, 08 Jun 2000 07:13:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425409#M759444</guid>
      <dc:creator>Dan Am</dc:creator>
      <dc:date>2000-06-08T07:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: LOG IN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425410#M759445</link>
      <description>I want to have only one &lt;BR /&gt;login at a time.</description>
      <pubDate>Thu, 08 Jun 2000 08:00:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425410#M759445</guid>
      <dc:creator>Richard Barcellano</dc:creator>
      <dc:date>2000-06-08T08:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: LOG IN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425411#M759446</link>
      <description>In your /etc/profile add the following lines &lt;BR /&gt;&lt;BR /&gt;USER=$(whoami) &lt;BR /&gt;NBCNX=`who -H | grep ${USER} | grep -v root | wc -l` &lt;BR /&gt;&lt;BR /&gt;if [ ${NBCNX} -gt 2 ] &lt;BR /&gt;then &lt;BR /&gt;echo "MSG login restrited" &lt;BR /&gt;exit &lt;BR /&gt;fi &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;****&lt;BR /&gt;&lt;BR /&gt;I followed this instructions but still users can login more than once.&lt;BR /&gt;&lt;BR /&gt;The error I encountered was &lt;BR /&gt;/etc/profile [137] who: not found&lt;BR /&gt;&lt;BR /&gt;One more thing,  we are also using CDE Deskstop environment.  Help is still needed.&lt;BR /&gt;&lt;BR /&gt;Thank you in advance.</description>
      <pubDate>Fri, 09 Jun 2000 02:44:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425411#M759446</guid>
      <dc:creator>Richard Barcellano</dc:creator>
      <dc:date>2000-06-09T02:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: LOG IN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425412#M759447</link>
      <description>try specifiying the whole path for who&lt;BR /&gt;&lt;BR /&gt;i.e /usr/bin/who</description>
      <pubDate>Fri, 09 Jun 2000 03:03:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425412#M759447</guid>
      <dc:creator>Anthony Goonetilleke</dc:creator>
      <dc:date>2000-06-09T03:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: LOG IN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425413#M759448</link>
      <description>I specified the whole path and no errors were encountered but I can still login more than once.  I logged into the server using the local console of the server and another using a remote terminal. Both were successful.  &lt;BR /&gt;For example, the user 'jessie' has logged in already and he wants to log in again using the same username using a remote terminal. How do I prevent Jessie from logging in again?  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jun 2000 05:22:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425413#M759448</guid>
      <dc:creator>Richard Barcellano</dc:creator>
      <dc:date>2000-06-09T05:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: LOG IN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425414#M759449</link>
      <description>if [ ${NBCNX} -gt 1 ] # (not two !)&lt;BR /&gt; then &lt;BR /&gt;     echo "MSG login restrited" &lt;BR /&gt; exit &lt;BR /&gt;fi</description>
      <pubDate>Fri, 09 Jun 2000 06:25:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425414#M759449</guid>
      <dc:creator>Dan Am</dc:creator>
      <dc:date>2000-06-09T06:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: LOG IN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425415#M759450</link>
      <description># watch it&lt;BR /&gt;# comment got wrapped&lt;BR /&gt;# (line 1 and two)</description>
      <pubDate>Fri, 09 Jun 2000 06:27:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425415#M759450</guid>
      <dc:creator>Dan Am</dc:creator>
      <dc:date>2000-06-09T06:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: LOG IN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425416#M759451</link>
      <description>(sorry for my staggered answer. rather early in the morning.)&lt;BR /&gt;&lt;BR /&gt;if you are using cde, &lt;BR /&gt;&lt;BR /&gt;1. cp /usr/dt/sys.dtprofile /etc/dt&lt;BR /&gt;&lt;BR /&gt;2. add the script from anthony&lt;BR /&gt;&lt;BR /&gt;3. make sure users don't have .dtprofile&lt;BR /&gt;   in their home-directories.&lt;BR /&gt;&lt;BR /&gt;should do the trick.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jun 2000 07:08:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425416#M759451</guid>
      <dc:creator>Dan Am</dc:creator>
      <dc:date>2000-06-09T07:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: LOG IN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425417#M759452</link>
      <description>Should I also change Anthony's script from&lt;BR /&gt;grep -v root to grep -v jessie. To prevent Jessie from logging in twice?&lt;BR /&gt;&lt;BR /&gt;I will be using jessie's account to test this and not root.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jun 2000 07:39:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-in/m-p/2425417#M759452</guid>
      <dc:creator>Richard Barcellano</dc:creator>
      <dc:date>2000-06-09T07:39:11Z</dc:date>
    </item>
  </channel>
</rss>

