You are not logged in.
Pages: 1
So I start up the linux machine, log in and instead of the normal last logon message I got something like this:
declare -x HUSHLOGIN="FALSE"
declare -x OLDPWD
declare -x PATH="/bin:/usr/bin"
declare -x HZ="100"
along with a few more....a hacker perhaps ( I am behind a router ) or maybe I just hit the "x" key as I hit enter? Or is this the xserver?
Thanks,
BobL
Offline
I assume you aren't using kdm/gdm/xdm or anything like that?
Offline
Correct,
This login I am talking about, straight command line,
Login:
Password:
Sorry about that, I should have made the question clearer.
Additionally, this seems to be the machines envirornment settings to a degree, although WHY it is printing them out is the question.
BobL
Offline
Is there anything weird in ~/.bash_profile or ~/.bashrc?
What if you log on with another user?
What if you create a new user and log in with it?
Offline
No, not at all. I will try to create another user and see what happens. If it does occur again, well reformat and start over, unless there are some better ideas? (hint )
Thanks again,
BobL
Offline
Check /etc/profile if its universal to all users.
No need to reinstall, that's an old-fashioned windows style solution... although sometimes it works faster than traking down the problem. ;-)
Dusty
Offline
Sounds like a configuration issue. Do not worry about people trying to crack into your box or something, as messages like that do not mean that.
Offline
I had similar to those too....didn't get rid of them...
did you manage to fix this? how?
My fix was rather controversal I reinstalled arch *ashamed*
http://www.linuxportalen.com -> Linux Help portal for Linux and ArchLinux (in swedish)
Dell Inspiron 8500
Kernel 2.6.14-archck1 (selfcompiled)
Enlightenment 17
Offline
Just saw that I had not updated this thread with the solution. I spotted the answer from a previous post ( sometime in March of last year I think ). What was happening is that in a normal etc/profile, the top line says something like :
export PATH="/bin:/sbin: ........
well in my etc/profile it said this
export
PATH="/bin:/sbin:.....
so the export command fired.....which is what was causing all the declare -x statements after logging in.
heh, so a very easy fix....
export
PATH="/bin:/sbin:.....
change to:
export PATH="/bin:/sbin: ........ ( Yes, I know VERY obvious, but this would have helped when I was a 3 week noob!!!)
Hope this helps out somebody
Offline
How would that have happened tho I wonder?
Offline
editing with nano. nano loves to wrap lines.
Offline
Pages: 1