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: David Holland <dholland-bugs%netbsd.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 00:27:09 +0000
On Wed, Aug 17, 2022 at 10:00:04PM +0000, nia wrote:
> > - it changes the behaviour of the system wide Xsession file
> > (not a new users template ~/.xsession)
>
> AFAIK, there isn't such thing - only a system-wide default.
It also only changes the behavior when there's no ~/.xsession.
Which means it affects nobody who has their own setup.
> I'm not sure about tcsh -
> csh(1) seems to use these files rather than .profile:
>
> FILES
> ~/.cshrc Read at beginning of execution by each shell.
> ~/.login Read by login shell, after `.cshrc' at login.
> ~/.logout Read by login shell, at logout.
>
> The default ~/.cshrc on NetBSD will specify a path, so you'll
> get the right thing regardless of xdm or login shell.
tcsh is the same except that it uses .tcshrc instead of .cshrc if
present, and that will also normally set up the path unless the user's
doing something strange.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index