On 02/11/2013 12:11 AM, Bruce Dubbs wrote:
> Nathan Coulson wrote:
>> On Sat, Feb 9, 2013 at 5:40 PM, <[email protected]> wrote:
>>> Author: krejzi
>>> Date: Sat Feb 9 17:40:38 2013
>>> New Revision: 10119
>>>
>>> Log:
>>> Added sulogin and mesg utilities to util-linux package, changed kmod
>>> --libdir to --with-rootlibdir plus minor fixes, minor fix for coreutils
>>> page. You might want last two in LFS, too.
>>
>> I would love to see things as much in sync as possible between LFS and
>> systemd LFS.
>>
>> I wonder if we should switch to using sulologin and message from
>> util-linux... not sure what we would loose, but if it has feature
>> parity, I would prefer it.
>
> sulogin requires PAM. That's another required dependency and I
> personally don't like PAM.
>
> -- Bruce
>
No, it doesn't. I tested it last night. On the other hand, su and login
do require PAM.
$ ldd /sbin/sulogin
linux-vdso.so.1 (0x00007fff29fff000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f039eb8b000)
libc.so.6 => /lib/libc.so.6 (0x00007f039e7de000)
/lib/ld-linux-x86-64.so.2 (0x00007f039edc2000)
I got it from util-linux-2.22.2
https://git.kernel.org/?p=utils/util-linux/util-linux.git;a=blob;f=login-utils/sulogin.c;h=d7d44b607e1c1ab6e21d32926dea36a31fa617e3;hb=refs/heads/stable/v2.22
As you can see, there isn't any single reference to PAM.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page