NetBSD-Bugs archive

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

Re: bin/46231: root .login file disturbs pkgsrc su ?



The following reply was made to PR bin/46231; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/46231: root .login file disturbs pkgsrc su ?
Date: Sat, 24 Mar 2012 17:28:55 +0000

 On Tue, Mar 20, 2012 at 09:55:02PM +0000, Martin Husemann wrote:
  >>  I would think that tset could be in the interactive-case, but .profile
  >>  should only be loaded from login shells (i.e. su including the -).  If
  >>  the script doesn't include the -, does .shrc or /etc/shrc
  >>  source .profile?
  >  
  >  There is no (sym-)linking or sourcing going on, AFAICT. All scripts are
  >  unmodified from a fresh install (i.e. can be found in src/etc/root as
  >  dot.*).
 
 Well... the question is really whether pkgsrc is doing su - or su -l
 to generate a login shell. It should not be doing that.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index