Where ksh can load aliases from?
- Checked /etc/profile, ~/.profile - nothing
- There is no ~/.kshrc.
$ grep -r 'alias BADALIAS' /etc- also nothing
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
Ok, found it...
The /etc/profile has a call to another script buried in conditions:
test -d $SITE -a -d $SITE/$VER -a -e $SITE/$VER/site_config && . $SITE/$VER/site_config
which in turn opens a text file with key=value pairs and makes aliases from this list. And that list has a bad pair...
Our admins are such strange people...