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

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

 



On Mon, Aug 08, 2011 at 12:18:08PM +0200, Karel Zak wrote:
> 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.

yes as currently only --login-options could be used to pass an other PAM
configuration to login(1)

      Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr
--
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