On Mar 11, 2012, at 6:54 AM, Armin K. wrote:

> On 03/11/2012 02:47 PM, Andrew Benton wrote:
>> On Sun, 11 Mar 2012 13:18:16 +0000
>> "Armin K."<[email protected]>  wrote:
>> 
>>> Also, I noticed there is pam_securetty module, and
>>> according to that module documentation, it looks for /etc/securetty file
>>> to check from which tty's is root user allowed to login.
>> 
>> If a malicious hacker has physical access to the machine, what use are
>> shadow and pam? They can just boot from a USB stick and do what they
>> like. Or have I missed the point?

Console access != Physical access.  IP KVMs, etc.

> According to your reply, shadow and linux pam are unnecesary. I am not 
> talking about extreme situations. If you don't like it, don't use it. 
> But something should be done for the sake of the book and it's readers.
> Either, make somewhere a note about creating the file, or comment out 
> pam module so it doesn't print a warning or whatever.

Are errors thrown even if pam_securetty.so is not on the stack?  I think 
pam_securetty is a module, and I thought modules were optional...

* * *

Either way, it seems Armin was asking a question about correctness, because he 
observed that not having the file is raising warnings--not if we should leave 
software misconfigured because a physical break-in would render the issue moot.

        Q

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to