<?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 Restrict Login of Root on TTY1-6 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/restrict-login-of-root-on-tty1-6/m-p/3082278#M6887</link>
    <description>How dow I restrict loggin of Root to tty1-6? I would like all users to login using an identified ID then use SU as necessary.  How do I also disable single user login to my system. I am using RH 9.  Thanks in Advance.</description>
    <pubDate>Tue, 30 Sep 2003 23:57:41 GMT</pubDate>
    <dc:creator>Francis Ancheta</dc:creator>
    <dc:date>2003-09-30T23:57:41Z</dc:date>
    <item>
      <title>Restrict Login of Root on TTY1-6</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-login-of-root-on-tty1-6/m-p/3082278#M6887</link>
      <description>How dow I restrict loggin of Root to tty1-6? I would like all users to login using an identified ID then use SU as necessary.  How do I also disable single user login to my system. I am using RH 9.  Thanks in Advance.</description>
      <pubDate>Tue, 30 Sep 2003 23:57:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-login-of-root-on-tty1-6/m-p/3082278#M6887</guid>
      <dc:creator>Francis Ancheta</dc:creator>
      <dc:date>2003-09-30T23:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Login of Root on TTY1-6</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-login-of-root-on-tty1-6/m-p/3082279#M6888</link>
      <description>By default, 'root' won't be able to log in directly fron anywhere but the physical TTY.&lt;BR /&gt; &lt;BR /&gt;All other root access is via SU.  Now, limiting the users that can 'su' is a job for the Pluggable Authentican Modules (PAM).  In particular, the pam_access (see /usr/share/doc/pam-*/txts/README.pam_access for more details).&lt;BR /&gt; &lt;BR /&gt;This module allows you to specifiy a list of users which are allowed access.  To enable this access list, you just need to insert a line similar to 'auth require /lib/security/pam_access.so accessfile=/path/to/list/of/names' in '/etc/pam.d/su' (after 'pam_rootok.so')</description>
      <pubDate>Wed, 01 Oct 2003 00:16:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-login-of-root-on-tty1-6/m-p/3082279#M6888</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-10-01T00:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Login of Root on TTY1-6</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-login-of-root-on-tty1-6/m-p/3082280#M6889</link>
      <description>the file /etc/securetty tells "login" which tty's root can log in on so I guess if you have a /etc/securetty without /dev/tty1 etc in it, then root will not be able to log in on them.&lt;BR /&gt; &lt;BR /&gt;However, I do not think is a particularly good idea though I'm stuggling to think of a good reason why not except I feel you will find yourself in a position that you can not log in at all someday!.  Certainly do not do this if you use NIS.</description>
      <pubDate>Wed, 01 Oct 2003 00:16:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-login-of-root-on-tty1-6/m-p/3082280#M6889</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-10-01T00:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Login of Root on TTY1-6</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-login-of-root-on-tty1-6/m-p/3082281#M6890</link>
      <description>Thanks.  Securetty did the job.  With regards to PAM, I am looking at this option but for the meantime I am using /bin/false as the login shell of those users that I do not want to loggin to the system.</description>
      <pubDate>Wed, 01 Oct 2003 00:43:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-login-of-root-on-tty1-6/m-p/3082281#M6890</guid>
      <dc:creator>Francis Ancheta</dc:creator>
      <dc:date>2003-10-01T00:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Login of Root on TTY1-6</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-login-of-root-on-tty1-6/m-p/3082282#M6891</link>
      <description>I thing the answer is realy to protect your console/system behind a closed door with a badge reader recording presence and a video recording camera pointed on/to the system console if security is realy a requirement.&lt;BR /&gt;&lt;BR /&gt;I agree taking out the console tty could leave you in a bad spot someday !&lt;BR /&gt; &lt;BR /&gt;You should also protect your grub or lilo with a password as well as the bio setting.&lt;BR /&gt;&lt;BR /&gt;a key/lock to make accessing mb,device,ram,battery could also be part of a realy secure scheme.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I know the above is not all about the sofware protection of your system and sounds paternalistic (it is not), but Your question implide that security is an issue. &lt;BR /&gt;keeping track of system change is also a must in a DR (disater recovery) plan I always try to keep the configuration/setup of bios,disk,tape,label,partions,particulare tailoring,etc,etc as well as the backup in an other location also under safe guard.&lt;BR /&gt;&lt;BR /&gt;You (the system admin and management) are the only juge of the level you need and can afford.&lt;BR /&gt;&lt;BR /&gt;So pls look at the above just as a check list that your question triggerd for me.&lt;BR /&gt;&lt;BR /&gt;J-P&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Oct 2003 05:09:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-login-of-root-on-tty1-6/m-p/3082282#M6891</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-10-01T05:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Login of Root on TTY1-6</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-login-of-root-on-tty1-6/m-p/3082283#M6892</link>
      <description>Thanks.  I'll keep that in mind.  I have left one tty open for root loggin just incase something goes wrong.&lt;BR /&gt;&lt;BR /&gt;Thanks for the input guys.</description>
      <pubDate>Wed, 01 Oct 2003 21:37:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-login-of-root-on-tty1-6/m-p/3082283#M6892</guid>
      <dc:creator>Francis Ancheta</dc:creator>
      <dc:date>2003-10-01T21:37:04Z</dc:date>
    </item>
  </channel>
</rss>

