On 03/18/2012 08:21 AM, DJ Lucas wrote:
> On 03/11/2012 08:14 AM, Armin K. wrote:
>> As you can see I've updated shadow package today. But that's not all.
>> I've also modified some instructions and probably simplified environment
>> configuration. I'd like someone to test it and report any errors if
>> encountered.
> Slowly catching up. It works fine, but...
>> 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. But grepping
>> through book I don't see where is that file created, neither I see it in
>> LFS. Am I missing something? That file should be present if we are going
>> to use pam_securetty or it's useless without it.
> Same thing with pam_nologin. Should probably disable that one too.
> Additionally, why was the default path removed from
> /etc/security/pam_env.conf? Granted, these should be handled by the
> shell profiles, but you are changing default functionality, possibly
> even expected functionality, without reason. Same thing for motd and
> mail check, though that was my own doing. We should probably have these
> on by default (as is in LFS default). Finally, why was the note about
> ENV_SUPATH removed?
>
> -- DJ Lucas
>
>

I decided to keep PATH stuff in login.defs, because it is marked as 
REQUIRED in that file, so I didn't bother to remove it, neither pam 
complained about that option. Several distros even keep it there. If I 
comment it out, when I su to root, path is screwed up, unless I su - 
(with login shell). If you think it's wrong, feel free to correct it.
-- 
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