/etc/profile
Dave Feustel
dfeustel at mindspring.com
Sun Dec 21 19:22:51 UTC 2008
On Sun, Dec 21, 2008 at 01:47:06PM -0500, Todd Zullinger wrote:
> Dave Feustel wrote:
> > I've been running F9 for a while. About two weeks ago
> > I started getting sequences like the following every
> > time I log in:
> >
> > [1] 3875
> > [2] 3877
> > [3] 3879
> > [4] 3880
> > [5] 3881
> > [6] 3882
> > [7] 3883
> > [8] 3885
> > [9] 3888
> > [10] 3891
> > [11] 3895
> > [12] 3899
> > [13] 3901
> > [14] 3903
> > [15] 3905
> > [16] 3907
> > [17] 3909
> >
> > I got rid of this by setting permissions of /etc/profile to 000,
> > although the sequences still show up when I log in as root.
> > I've looked at the /etc/profile code but I don't understand it.
>
> Has /etc/profile been modified? (rpm -Vf /etc/profile)
>
> > What code in /etc/profile generates these sequences?
>
> You could run it with some extra verbosity like this, I believe:
>
> $ set -x; . /etc/profile; set +x
>
> Files in /etc/profile.d/* are sourced by /etc/profile, so it could be
> one of those causing the output.
I tried adding 'set -x' as the first line and 'set -x' as the last line
of /etc/profile, and then ran the profile. But I saw none of the strange
lines in the debugging output.
More information about the fedora-list
mailing list