You are not logged in.

#1 2005-06-20 23:41:31

BobL
Member
From: USA
Registered: 2005-05-04
Posts: 19

Extremely strange login messages.....

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

#2 2005-06-20 23:54:09

Euphoric Nightmare
Member
From: Kentucky
Registered: 2005-05-02
Posts: 283

Re: Extremely strange login messages.....

I assume you aren't using kdm/gdm/xdm or anything like that?

Offline

#3 2005-06-20 23:59:24

BobL
Member
From: USA
Registered: 2005-05-04
Posts: 19

Re: Extremely strange login messages.....

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

#4 2005-06-21 00:34:29

Euphoric Nightmare
Member
From: Kentucky
Registered: 2005-05-02
Posts: 283

Re: Extremely strange login messages.....

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

#5 2005-06-21 19:17:24

BobL
Member
From: USA
Registered: 2005-05-04
Posts: 19

Re: Extremely strange login messages.....

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

#6 2005-06-21 19:36:19

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Extremely strange login messages.....

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

#7 2005-06-21 19:45:08

keevn7
Member
From: Lancaster, OH, US
Registered: 2005-06-09
Posts: 206
Website

Re: Extremely strange login messages.....

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. tongue

Offline

#8 2005-06-21 19:56:10

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Extremely strange login messages.....

I had similar to those too....didn't get rid of them...

did you manage to fix this? how?

My fix was rather controversal big_smile 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

#9 2005-08-07 07:00:35

BobL
Member
From: USA
Registered: 2005-05-04
Posts: 19

Re: Extremely strange login messages.....

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 smile

Offline

#10 2005-08-07 09:13:12

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,436
Website

Re: Extremely strange login messages.....

How would that have happened tho I wonder?

Offline

#11 2005-08-07 13:19:44

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Extremely strange login messages.....

editing with nano. nano loves to wrap lines.

Offline

Board footer

Powered by FluxBB