[1930] in SIPB_Linux_Development
Re: root's .cshrc file
daemon@ATHENA.MIT.EDU (Derek Atkins)
Fri Nov 28 12:45:06 1997
To: "Jacob Morzinski" <jmorzins@MIT.EDU>
Cc: linux-dev@MIT.EDU
From: Derek Atkins <warlord@MIT.EDU>
Date: 28 Nov 1997 12:44:27 -0500
In-Reply-To: "Jacob Morzinski"'s message of Thu, 27 Nov 1997 22:27:06 EST
Jacob,
1) This mail should have been sent to Linux-dev, not linux-help.
2) I can't find this line in the Sipb-Athena sources.
Can you please run:
rpm -qif /root/.cshrc
And send the results to Linux-dev. I suspect that you're installing
the 'rootfiles' package instead of the 'athena-rootfiles' package.
In this case, the bug is RedHat's, not ours.
-derek
"Jacob Morzinski" <jmorzins@MIT.EDU> writes:
>
> I just re-installed linux-athena 4.2 from scratch.
> When I got to the list of packages to install, I selected
> nearly everything. (I didn't install printing or print server
> packages, and didn't install web, ftp, or gopher server stuff,
> but I think I got everything else.)
>
> I discovered that I ended up with a buggy /root/.cshrc file,
> just like I had before. (It uses "setenv PATH=foo", which
> causes root logins from the athena xlogin screen to end up
> with broken paths.)
>
> This is the second time I'm reporting this. I no longer care
> why it's happening. All I know is that it should be fixed.
>
>
> Please, make it so that users who log in as root from the
> athena xlogin prompt end up with a proper path.
>
>
> (If a patch would help, here's what has to be done to
> the /root/.cshrc file:
>
>
> --- /root/.cshrc~ Mon Mar 4 10:07:38 1996
> +++ /root/.cshrc Thu Nov 27 22:25:30 1997
> @@ -6,6 +6,6 @@
> alias cp 'cp -i'
> alias mv 'mv -i'
>
> -setenv PATH="/usr/sbin:/sbin:$PATH"
> +setenv PATH "/usr/sbin:/sbin:$PATH"
>
> set prompt=\[`id -nu`@`hostname -s`\]\#\
>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL N1NWH
warlord@MIT.EDU PGP key available