NetBSD-Bugs archive

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

Re: xsrc/54851 (.profile is not read by sh when using xdm or other login managers)



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

From: RVP <rvp%SDF.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: xsrc/54851 (.profile is not read by sh when using xdm or other
 login managers)
Date: Thu, 18 Aug 2022 20:18:38 +0000 (UTC)

 On Thu, 18 Aug 2022, Valery Ushakov wrote:
 
 > Testing a bit further with a scratch account I also notice that xdm
 > doesn't propagate PATH set in login.conf.  It does call
 > setusercontext(3) with LOGIN_SETALL but probably overrides the PATH
 > later with the values from its resources.
 >
 
 It does the same thing for the env. vars. too. It doesn't pass on
 what setusercontext(LOGIN_SETALL) set to the execve().
 
 -RVP
 


Home | Main Index | Thread Index | Old Index