> but -p is specifically used to tell login whether to preserve or discard
> the parent environment. What happens if -p is not set? I decided to put
> TERM=linux because ubase is linux specific.
I think -p is only suitable for values that can be obtained from /etc/passwd,
for example HOME or SHELL, but in the case of TERM, you only can take the
correct value from the environment of the parent. I don't know what says
POSIX about this issue, but maybe should be interesting take a look on it.
--
Roberto E. Vargas Caballero
Received on Tue Jun 03 2014 - 19:44:49 CEST