On 2005-05-11T20:24, Christian Jones wrote:

> A minor, even trivial, perhaps pointless issue---but I'm curious:
> 
> /etc/skel/.profile includes the line
> export PATH HOME TERM
> 
> This appears to be unnecessary;  login(1) places all three into the
> environment.  Simple testing with ksh and sh reveal no changes
> resulting from the removal of this line.  A bit of archive searching
> makes it looks like this hasn't been asked, googling resulted in no
> help, and a quick glance at cvs shows this was in the initial import.
> 
> Is there a reason this is here?  (I'm not suggesting there's
> necessarily a reason to remove it.)  Is this used by other shells in
> ports, or by any sh in the works?  Just noticed it, got curious, and
> decided to waste some time figuring it out---hope I haven't wasted too
> much of yours. ;-)

/etc/skel/.profile isn't used at the login.
Read man adduser. The /etc/skel/* could be copied to a new users homedir.

hth,

Marcus.

Reply via email to