<?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: securetty functionality for non-root users in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/securetty-functionality-for-non-root-users/m-p/3090015#M751603</link>
    <description>The /etc/securetty file is used to restrict root access. The single entry in the file determines where root can login,but not necessarily where people can su upto root.&lt;BR /&gt;&lt;BR /&gt;Typically the contents of this file would read :-&lt;BR /&gt;&lt;BR /&gt;console&lt;BR /&gt;&lt;BR /&gt;So the root account can only be logged in from the console. &lt;BR /&gt;&lt;BR /&gt;Please note the /etc/securetty file does not prevent a user from using the root login if that user is using something call CDE (Common Desktop Environment).  In this case you must edit the file /etc/dt/config/Xstartup to contain the following :-&lt;BR /&gt;&lt;BR /&gt;if [ $USER = root ] ; then&lt;BR /&gt;   exit 1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;The other option if using CDE is to cp the file usr/dt/config/Xstartup to /etc/dt/config/Xstartup.&lt;BR /&gt;&lt;BR /&gt;An additional security measure is to setup an su group to allow only a certain number of people to su to root.  This can be achieved by creating an entry in /etc/default/security :-&lt;BR /&gt;&lt;BR /&gt;SU_ROOT_GROUP=groupname &lt;BR /&gt;&lt;BR /&gt;where groupname corresponds to the name of the group in /etc/group file that should be allowed to use su to root.  Root does not need to be a member of this group !&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Keith</description>
    <pubDate>Fri, 10 Oct 2003 10:31:04 GMT</pubDate>
    <dc:creator>Keith Bevan_1</dc:creator>
    <dc:date>2003-10-10T10:31:04Z</dc:date>
    <item>
      <title>securetty functionality for non-root users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/securetty-functionality-for-non-root-users/m-p/3090012#M751600</link>
      <description>I have a requirement to implement securetty functionality for the "oracle" account.  Our auditors want to restrict access to the account except from a "user" account and the su command.  That way we could use the sulog to trace which real users where logged in as "oracle".  Any ideas on how to do this?</description>
      <pubDate>Thu, 09 Oct 2003 16:05:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/securetty-functionality-for-non-root-users/m-p/3090012#M751600</guid>
      <dc:creator>Dave Parmer</dc:creator>
      <dc:date>2003-10-09T16:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: securetty functionality for non-root users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/securetty-functionality-for-non-root-users/m-p/3090013#M751601</link>
      <description>Hi,&lt;BR /&gt; &lt;BR /&gt;Think you are looking for this solution.&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x7924cbaac6dcd5118ff40090279cd0f9%2C00.html&amp;amp;admit=716493758+1065734732126+28353475" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x7924cbaac6dcd5118ff40090279cd0f9%2C00.html&amp;amp;admit=716493758+1065734732126+28353475&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;Hope it helps,&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Oct 2003 16:25:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/securetty-functionality-for-non-root-users/m-p/3090013#M751601</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-10-09T16:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: securetty functionality for non-root users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/securetty-functionality-for-non-root-users/m-p/3090014#M751602</link>
      <description>If you add 'console' to /etc/securetty then root can log in only at the console. &lt;BR /&gt; &lt;BR /&gt;So securetty is used to restrict root access only and has no relation to other login accounts.&lt;BR /&gt; &lt;BR /&gt;What you're describing is what the 'last' command is for.&lt;BR /&gt; &lt;BR /&gt;# last account&lt;BR /&gt;# last -b account&lt;BR /&gt;# last -R account&lt;BR /&gt; &lt;BR /&gt;You can also restrict 'rlogins', force all to use 'telnet' and track in syslog.log.  Add -l to /etc/inetd.conf:&lt;BR /&gt; &lt;BR /&gt;telnet stream tcp nowait root /usr/sbin/in.telnetd in.telnetd -l&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;You can also look into /sbin/init.d/acct, system accounting, but this is usually reserved for expense charging for time.&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Oct 2003 16:50:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/securetty-functionality-for-non-root-users/m-p/3090014#M751602</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-10-09T16:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: securetty functionality for non-root users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/securetty-functionality-for-non-root-users/m-p/3090015#M751603</link>
      <description>The /etc/securetty file is used to restrict root access. The single entry in the file determines where root can login,but not necessarily where people can su upto root.&lt;BR /&gt;&lt;BR /&gt;Typically the contents of this file would read :-&lt;BR /&gt;&lt;BR /&gt;console&lt;BR /&gt;&lt;BR /&gt;So the root account can only be logged in from the console. &lt;BR /&gt;&lt;BR /&gt;Please note the /etc/securetty file does not prevent a user from using the root login if that user is using something call CDE (Common Desktop Environment).  In this case you must edit the file /etc/dt/config/Xstartup to contain the following :-&lt;BR /&gt;&lt;BR /&gt;if [ $USER = root ] ; then&lt;BR /&gt;   exit 1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;The other option if using CDE is to cp the file usr/dt/config/Xstartup to /etc/dt/config/Xstartup.&lt;BR /&gt;&lt;BR /&gt;An additional security measure is to setup an su group to allow only a certain number of people to su to root.  This can be achieved by creating an entry in /etc/default/security :-&lt;BR /&gt;&lt;BR /&gt;SU_ROOT_GROUP=groupname &lt;BR /&gt;&lt;BR /&gt;where groupname corresponds to the name of the group in /etc/group file that should be allowed to use su to root.  Root does not need to be a member of this group !&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Keith</description>
      <pubDate>Fri, 10 Oct 2003 10:31:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/securetty-functionality-for-non-root-users/m-p/3090015#M751603</guid>
      <dc:creator>Keith Bevan_1</dc:creator>
      <dc:date>2003-10-10T10:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: securetty functionality for non-root users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/securetty-functionality-for-non-root-users/m-p/3090016#M751604</link>
      <description>Thanks for the input.  The changes to the profile did the trick.</description>
      <pubDate>Fri, 10 Oct 2003 10:42:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/securetty-functionality-for-non-root-users/m-p/3090016#M751604</guid>
      <dc:creator>Dave Parmer</dc:creator>
      <dc:date>2003-10-10T10:42:25Z</dc:date>
    </item>
  </channel>
</rss>

