agetty --remote (Re: [PATCH] agetty: improve login(1) argv[])

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 05, 2011 at 06:09:03PM +0200, Dr. Werner Fink wrote:
> Please could you also apply the patches from Samuel
> 
>        agetty: Only enable F_UTF8 if kernel has already set IUTF8.
>                Use C.UTF-8 locale instead of en_US.UTF-8

 All applied. Thanks.
 
 Note that I'd like to add (after 2.20 release) a new agetty
 -E/--remote option to pass hostname from agetty(8) to login(1), for
 example:

     agetty --host fakehost.com --remote

 will execute
   
     login -h fakehost.com -- username


 Now the "agetty --host <hostname>" is used for utmp entries only.
 This is not enough, because login(1) allows to load a different PAM
 configuration if called with the "-h" option. In some special cases
 we need to mark a serial console(s) as "remote" and use a different PAM
 setting there.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux