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: Martin Husemann <martin%duskware.de@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: Tue, 16 Aug 2022 14:16:34 +0200

 This change is pretty dangerous for users of other shells:
 
  - it changes the behaviour of the system wide Xsession file
    (not a new users template ~/.xsession)
 
  - it sources the per user ~/.shrc instead of the system wide /etc/sh.shrc
    (that could be adapted for this to just provide reasonable defaults)
 
  - users of other shells will often have outdated (and usually unused)
    ~/.shrc files that may set arbitrary (bad/broken) things in their 
    environment (with a bit of luck just old versions of PATH,
    whatever used to be the default for .shrc when that account
    was created)
 
 Martin
 (using tcsh and xdm, so I would be affected)
 


Home | Main Index | Thread Index | Old Index