<?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: Restricting root login from CDE in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779984#M76952</link>
    <description>Hi Raji,&lt;BR /&gt;&lt;BR /&gt;Or you can try this thread,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000052479472" target="_blank"&gt;http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000052479472&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The doc id is                                              S3100000413&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
    <pubDate>Mon, 05 Aug 2002 17:29:45 GMT</pubDate>
    <dc:creator>Sanjay_6</dc:creator>
    <dc:date>2002-08-05T17:29:45Z</dc:date>
    <item>
      <title>Restricting root login from CDE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779981#M76949</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;I like to restrict root login from the terminals. Users come to the unix box through exceed and CDE. &lt;BR /&gt;&lt;BR /&gt;Telnet from the unix to unix box is working fine. Users have to do su - root to logon as root from the terminals. But if they connect from CDE it lets them login as root. &lt;BR /&gt;&lt;BR /&gt;Does anyone out there guide me how to make this work? HP-UX 11.00&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Mon, 05 Aug 2002 17:22:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779981#M76949</guid>
      <dc:creator>sheevm</dc:creator>
      <dc:date>2002-08-05T17:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting root login from CDE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779982#M76950</link>
      <description>Hi Raji,&lt;BR /&gt;&lt;BR /&gt;Take a look at this thread,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000045437203" target="_blank"&gt;http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000045437203&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The Doc id is KBRC00000074&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Aug 2002 17:26:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779982#M76950</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-08-05T17:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting root login from CDE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779983#M76951</link>
      <description>try this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x09c1119c3420d411b66300108302854d,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x09c1119c3420d411b66300108302854d,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;or this&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x99d8a135f587d5118ff00090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x99d8a135f587d5118ff00090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Search string used: restricting root logins cde&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 05 Aug 2002 17:27:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779983#M76951</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-08-05T17:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting root login from CDE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779984#M76952</link>
      <description>Hi Raji,&lt;BR /&gt;&lt;BR /&gt;Or you can try this thread,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000052479472" target="_blank"&gt;http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000052479472&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The doc id is                                              S3100000413&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Aug 2002 17:29:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779984#M76952</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-08-05T17:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting root login from CDE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779985#M76953</link>
      <description>Hi Raji&lt;BR /&gt;&lt;BR /&gt;What we do is like that . Edit /etc/profile and put the folliwing lines :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;loginid=`who am i | awk '{print $1}'`&lt;BR /&gt;&lt;BR /&gt;echo $loginid&lt;BR /&gt;if [ $loginid = root ]&lt;BR /&gt;then&lt;BR /&gt;exit&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;this will disable any logins to root , and then all users will ahve to login as non root and tehn su to root.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Mon, 05 Aug 2002 17:36:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779985#M76953</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-08-05T17:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting root login from CDE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779986#M76954</link>
      <description>Hi Manoj:&lt;BR /&gt;&lt;BR /&gt;I tried what you are saying but when I did su - root also failed to login. Does "su" also executes /etc/profile. But I tested it for $LOGNAME.&lt;BR /&gt;&lt;BR /&gt;Raji</description>
      <pubDate>Mon, 05 Aug 2002 17:58:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779986#M76954</guid>
      <dc:creator>sheevm</dc:creator>
      <dc:date>2002-08-05T17:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting root login from CDE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779987#M76955</link>
      <description>Raji&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the trick is that &lt;BR /&gt;&lt;BR /&gt;whoami and id are differtn things so if you login as root /etc/profile will set the value of loginid as root and throw you out , however if you login as raji it will set the value of loginid as raji and will not throw you out bcoz the id is not root , so no one can login as root and to login as root you need to su to root.&lt;BR /&gt;&lt;BR /&gt;This will be true for console too as /etc/profile is excuted when u do a su also .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Mon, 05 Aug 2002 18:04:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779987#M76955</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-08-05T18:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting root login from CDE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779988#M76956</link>
      <description>Raji,&lt;BR /&gt;&lt;BR /&gt;Remember, there is a difference between "su - root" and "su root".  If you execute "su root", /etc/profile does not get executed.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Aug 2002 18:22:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779988#M76956</guid>
      <dc:creator>Tom Dawson</dc:creator>
      <dc:date>2002-08-05T18:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting root login from CDE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779989#M76957</link>
      <description>Try this &lt;BR /&gt;&lt;BR /&gt;Put this into your /etc/profile&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;uid=`id -u`&lt;BR /&gt;&lt;BR /&gt;if [ $uid -ne 0 ] &lt;BR /&gt;then &lt;BR /&gt;    echo "You are not Authorised to Login"&lt;BR /&gt;    sleep 5&lt;BR /&gt;    exit 0&lt;BR /&gt;fi &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;-Niraj</description>
      <pubDate>Tue, 06 Aug 2002 03:26:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricting-root-login-from-cde/m-p/2779989#M76957</guid>
      <dc:creator>Niraj Kumar Verma</dc:creator>
      <dc:date>2002-08-06T03:26:24Z</dc:date>
    </item>
  </channel>
</rss>

