tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Dan Kirkpatrick <dkirk () suhep ! phy ! syr ! edu>
To: tru64-unix-managers
Subject: term type turned hacker... (was summary: default terminal type
Date: Wed, 10 Feb 1999 22:13:49 +0000	[thread overview]
Message-ID: <96079036515615.tru64-unix-managers.marc@archive.invalid> (raw)

Thanks to Dr. Tom Blinn who mentioned some things which got me looking...

Our original /etc/csh.login and /etc/profile said the same (as Tom
mentioned in email below)... and after this email, I checked /bin/login...
which had a date of Feb 5 18:50.... looks like it was replaced!  I'm trying
to investigate... and replaced it back with a known good one...  Any way to
analyze the file to see what the replacement does?  Looks fairly similar
when doing a more on it, but referrs to
/usr/doc/netscape/classLib/Widget.class which has a date of Feb 5 18:40.
I tried a find of anything changed in the last week and only returned
binaries of those two mentioned.  I'm still investigating... 

ARGH... I hate hackers... got on this one probably through an imap hole in
a different linux machine and a password sniffer.

At 03:33 PM 2/10/99 -0500, you wrote:
>On my V3.2G system, /etc/csh.login has this command in it:
>
>stty dec crt new
>
>and my profile has this line in it:
>
>export LOGNAME TERM
>
>although it's not obvious to me where TERM would have been set.
>
>The reference page for the "login" command says this:
>
>  The login command also modifies the environment with information specifying
>  home directory, command interpreter, terminal type (if available), and user
>  name.
>
>which makes me think that it would have been "login" that was setting up the
>TERM variable, etc.
>
>But I haven't gone looking at the sources.
>
>No patches?
>
>Tom





>>Originally I submitted this twice to the list since I wasn't sure if it ever 
>>went through since I got no responses on the first one.
>>
>>Thanks to several people (on cc: list) who suggested looking at /etc/profile 
>>and /etc/csh.login as system wide defaults for users.  
>>
>>I have tried doing my homework and checked these files to backups, these 
>>files never contained any term settings, and didn't change.  So I'm confused 
>>where the default of vt100 was getting set before?
>>
>>No other changes went on that I am aware of, as I was on vacation, and am 
>>usually the only one doing changes.  We did not do a system os upgrade.  And 
>>it did affect more than pine... such as vi, etc... most users just noticed 
>>first with pine.  The only remote possibilities I see so far are: 
>>
>>>Did someone replace some system utility that these things depend on?
>>>
>>>Something changed on the system.  You either have a hacker, or someone else
>>>who has privileges (or maybe even yourself) changed something that had this
>>>side effect.
>>
>>By adding TERM=vt100;export TERM in /etc/profile, and set term=vt100 to 
>>/etc/csh.login took care of the default term settings for bash, csh, tcsh 
>>and sh... but tcsh still gives the error:	tcsh: No entry for terminal type 
>>"1"   tcsh: using dumb terminal settings. 
>>But it still sets term ok.
>>
>>Thanks for the suggestions & help... but if term was never set through 
>>system wide /etc/profile or /etc/csh.login, and not ser through users 
>>.profile/.bashrc/.cshrc/.login etc, then how else has it been set in the
past?
>>
>>>How do I set the default terminal type for all users... is there a way 
>>>independant than their individual profile/login files?
>>>
>>>All of a sudden, users are complaining that pine says:
>>>
>>>   Your terminal, of type "", is lacking functions needed to run pine.
>>>
>>>They're using a mix of csh, bash, and tcsh.  I know the term can be set
>>>command line and through the profiles, but what may have caused the
>>>default to stop working?  I doubt all the users changed their profiles.
>>>
>>>Thanks,
>>>Dan 

--------------------------------------------------------------------------
Dan Kirkpatrick                        dkirk@phy.syr.edu
Computer Systems Manager
Department of Physics
Syracuse University, Syracuse, NY
http://www.phy.syr.edu/~dkirk   Fax: (315) 443-9103
--------------------------------------------------------------------------

                 reply	other threads:[~1999-02-10 22:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox