<?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: access by X in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/access-by-x/m-p/4875178#M399526</link>
    <description>thank you</description>
    <pubDate>Mon, 13 Dec 2004 08:35:20 GMT</pubDate>
    <dc:creator>Piotr Pyda</dc:creator>
    <dc:date>2004-12-13T08:35:20Z</dc:date>
    <item>
      <title>access by X</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/access-by-x/m-p/4875175#M399523</link>
      <description>How to block to HPUX access by X, for user "yyy" ?&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Dec 2004 06:49:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/access-by-x/m-p/4875175#M399523</guid>
      <dc:creator>Piotr Pyda</dc:creator>
      <dc:date>2004-12-13T06:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: access by X</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/access-by-x/m-p/4875176#M399524</link>
      <description>Hi, Piotr!&lt;BR /&gt;&lt;BR /&gt;Try to add at startup file for CDE /*/dt/config/Xstartup&lt;BR /&gt; next:&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;if [ "$LOGNAME" = "root" ]&lt;BR /&gt;then exit 1&lt;BR /&gt;fi&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;where "/*/" is "/etc/" and "/usr/", of course.&lt;BR /&gt;&lt;BR /&gt;Good Luck.</description>
      <pubDate>Mon, 13 Dec 2004 08:23:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/access-by-x/m-p/4875176#M399524</guid>
      <dc:creator>Dmitriy Peshiy</dc:creator>
      <dc:date>2004-12-13T08:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: access by X</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/access-by-x/m-p/4875177#M399525</link>
      <description>Hi Piotr,&lt;BR /&gt;&lt;BR /&gt;Add a startup file like below.&lt;BR /&gt;&lt;BR /&gt;vi /etc/dt/config/Xsession.d/0000.deny&lt;BR /&gt;&lt;BR /&gt;if [ "${USER}" = "yyy" ]&lt;BR /&gt;then&lt;BR /&gt;/usr/dt/bin/dterror.ds "You Cannot login as $USER through X" "Login Denied" "Exit"&lt;BR /&gt;exit 1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;If you want multiple users to be denied access, then create a file say /etc/xlogin.deny with entries like&lt;BR /&gt;&lt;BR /&gt;user1:&lt;BR /&gt;user2:&lt;BR /&gt;user3:&lt;BR /&gt;&lt;BR /&gt;then modify the above script like&lt;BR /&gt;&lt;BR /&gt;grep -q "${USER}:" /etc/xlogin.deny&lt;BR /&gt;if [[ $? = 0 ]]&lt;BR /&gt;then&lt;BR /&gt;&lt;ADD the="" remaining="" lines=""&gt;&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;&lt;/ADD&gt;</description>
      <pubDate>Mon, 13 Dec 2004 08:29:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/access-by-x/m-p/4875177#M399525</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-12-13T08:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: access by X</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/access-by-x/m-p/4875178#M399526</link>
      <description>thank you</description>
      <pubDate>Mon, 13 Dec 2004 08:35:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/access-by-x/m-p/4875178#M399526</guid>
      <dc:creator>Piotr Pyda</dc:creator>
      <dc:date>2004-12-13T08:35:20Z</dc:date>
    </item>
  </channel>
</rss>

