On Tue, Jun 03, 2014 at 07:25:39PM +0200, Roberto E. Vargas Caballero wrote: > > Set TERM to linux if needed for su and login > > I think this is incorrect. If you don't have a value of TERM, then > you should don't put anything, or put dumb, but why linux?, you > expect login will be executed only in virtual terminals?.
Would vt100 be more sensible? Thing is if preserve == 0 we'll end up with TERM unset (for login specifically).