<?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 group login in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-group-login/m-p/2621235#M38748</link>
    <description>Sahizan,&lt;BR /&gt;Selamat Berbuka Puasa!&lt;BR /&gt;I'm not too sure what exactly you're looking for, but if you want a particular user to login only from his/her machine and nowhere else, you can add this to the user's login script (.profile/.login):&lt;BR /&gt;thisip=`who -T | grep $(whoami) | tr -s " " | cut -d" " -f9`&lt;BR /&gt;allowedip="555.55.555.55" &lt;SPECIFY the="" user=""&gt;                                 &lt;BR /&gt;if [ $thisip = $allowedip ]                                 &lt;BR /&gt;then                                                      &lt;BR /&gt;: # OK, the user can continue                                                   &lt;BR /&gt;else                                                      &lt;BR /&gt;echo Sorry, you are only permitted to login from $allowedip&lt;BR /&gt;exit                                        &lt;BR /&gt;fi                                                        &lt;BR /&gt;&lt;/SPECIFY&gt;</description>
    <pubDate>Wed, 28 Nov 2001 02:49:35 GMT</pubDate>
    <dc:creator>Deepak Extross</dc:creator>
    <dc:date>2001-11-28T02:49:35Z</dc:date>
    <item>
      <title>User group login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-group-login/m-p/2621233#M38746</link>
      <description>Dear All,&lt;BR /&gt;&lt;BR /&gt;May i know is possible to me create an account for user by group? that mean the users with same group will detect from their ip address.. so only verified user on that group can login using the group login id.&lt;BR /&gt;&lt;BR /&gt;Thanx.</description>
      <pubDate>Wed, 28 Nov 2001 01:24:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-group-login/m-p/2621233#M38746</guid>
      <dc:creator>sahizan</dc:creator>
      <dc:date>2001-11-28T01:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: User group login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-group-login/m-p/2621234#M38747</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am fairly sure that this is not possible,&lt;BR /&gt;but have a look at this link which you &lt;BR /&gt;can restrict the number of users belonging&lt;BR /&gt;to certain groups. This might help you.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb16b972194d6d5118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb16b972194d6d5118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Michael</description>
      <pubDate>Wed, 28 Nov 2001 02:07:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-group-login/m-p/2621234#M38747</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-11-28T02:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: User group login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-group-login/m-p/2621235#M38748</link>
      <description>Sahizan,&lt;BR /&gt;Selamat Berbuka Puasa!&lt;BR /&gt;I'm not too sure what exactly you're looking for, but if you want a particular user to login only from his/her machine and nowhere else, you can add this to the user's login script (.profile/.login):&lt;BR /&gt;thisip=`who -T | grep $(whoami) | tr -s " " | cut -d" " -f9`&lt;BR /&gt;allowedip="555.55.555.55" &lt;SPECIFY the="" user=""&gt;                                 &lt;BR /&gt;if [ $thisip = $allowedip ]                                 &lt;BR /&gt;then                                                      &lt;BR /&gt;: # OK, the user can continue                                                   &lt;BR /&gt;else                                                      &lt;BR /&gt;echo Sorry, you are only permitted to login from $allowedip&lt;BR /&gt;exit                                        &lt;BR /&gt;fi                                                        &lt;BR /&gt;&lt;/SPECIFY&gt;</description>
      <pubDate>Wed, 28 Nov 2001 02:49:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-group-login/m-p/2621235#M38748</guid>
      <dc:creator>Deepak Extross</dc:creator>
      <dc:date>2001-11-28T02:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: User group login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-group-login/m-p/2621236#M38749</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Do you want to limit login as a specific user to only sessions from a group of IP addresses?&lt;BR /&gt;&lt;BR /&gt;You could put a edit in that user's .profile but the preferred place would be /etc/profile.  And if it's a csh account, you'd put it in /etc/csh.login.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Wed, 28 Nov 2001 03:16:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-group-login/m-p/2621236#M38749</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-11-28T03:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: User group login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-group-login/m-p/2621237#M38750</link>
      <description>Dear all..thanx for yr reply..i'm quite busy rite now with training..&lt;BR /&gt;&lt;BR /&gt;i'll try to run yr advise :)</description>
      <pubDate>Thu, 29 Nov 2001 02:21:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-group-login/m-p/2621237#M38750</guid>
      <dc:creator>sahizan</dc:creator>
      <dc:date>2001-11-29T02:21:00Z</dc:date>
    </item>
  </channel>
</rss>

