tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Fatal Error: Cannot map library
@ 2002-09-26 20:56 James W. Caldwell
  2002-09-26 21:25 ` SUMMARY: disabling r* commands Jonathan Williams
  0 siblings, 1 reply; 2+ messages in thread
From: James W. Caldwell @ 2002-09-26 20:56 UTC (permalink / raw)



I am getting the error 

125237:./sander: /sbin/loader: Fatal Error: Cannot map library ./sander

(where "sander" is the name of a fortran executable) on 5 of my 9 es40's.
(Tru64 5.1 patch kit 5)  

I can sucessfully execute "sander" on the others.  I can  build "sander"
on one of the problem machines and then FTP it to one of the healthy ones
and run it sucessfully there.  Other programs from the same suite run
OK on all the machines.  This is a program that has been running fine
for several years.   

The only "change" recently was the installation of patch kit 5 on all the 
machines. However, I checked the installed patches with "dupatch" and all
of the machines appear the same.  I have reduced things as far as i can:
same account/.cshrc on each machine, recompile with NO optimization, same
patches, rebooted etc.  but still an exectable runs on some hosts and
not on others.  Bummer. 

Has anybody seen anything like this?  

thanks,
jim

-- 

----------------------------------------------------------------------------
James W. Caldwell                         (voice) 415-476-8603
Department of Pharmaceutical Chemistry    (fax)   415-502-1411  
Mail Stop 0446                            (email) caldwell@heimdal.ucsf.edu
513 Parnassus Avenue                      
University of California                  
San Francisco, CA 94143-0446               
----------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 2+ messages in thread

* SUMMARY:  disabling r* commands
  2002-09-26 20:56 Fatal Error: Cannot map library James W. Caldwell
@ 2002-09-26 21:25 ` Jonathan Williams
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Williams @ 2002-09-26 21:25 UTC (permalink / raw)


Well...where do I begin?

first of all...if you do want to disable the r* commands, you would comment out
the lines in the /etc/inetd.conf file like I said in my original message.  This
will block remote systems from gaining access to the local system through these
commands.
To disable the rlogin, etc commands from running locally...you would simply
change the permissions on the files (chmod 0700 /usr/bin/rlogin   for example).

The funny thing is this:  I didn't actually need to disable these commands.  I
wanted them disabled because I had installed Ssh--and wanted people to use that
instead of the old r* commands.  Little did I realize that this Ssh thing took
control of these programs and actually starts an ssh session when these programs
are called.  Very clever.

It took some time to figure out why after disabling everything...I could STILL
rlogin to this system.  thanks go out to Arrigo Triulzi, Simon Millard, Mahendra
Rajah and Ann Majeske.

Oh, and if anyone is interested...the version of Ssh I'm using, Ann Majeske
pointed out to me.  It is for Tru64 5.1a or higher.  Here is the link:
http://www.tru64unix.compaq.com/internet/download.htm#security


Jonathan Williams
Unix Systems Administrator
The Shubert Organization, Inc.

-----Original Message-----
Hi.  I'm trying to disable the r commands (rlogin, rsh, rexec) on our Tru64 5.1
and 5.1a systems.  I'm only doing testing with a 5.1a system.  I searched around
and read that all I would need to do in order to disable these services is
comment out the appropriate lines in the /etc/inetd.conf file.  So I commented
out these three lines:

shell   stream  tcp     nowait  root    /usr/sbin/rshd          rshd
login   stream  tcp     nowait  root    /usr/sbin/rlogind       rlogind
exec    stream  tcp     nowait  root    /usr/sbin/rexecd        rexecd

I restarted the inetd service...and then even rebooted the machine.  But I'm
still able to use these commands successfully.  Is what I read incorrect?  Is
there a better way to disable these commands (or better yet...is there a way to
disable these commands?)  I searched on the mailing list archives, and found a
bunch of people asking this same question, but I could not find the summaries of
these topics.  Any help would be greatly appreciated.  TIA




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-26 21:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-26 20:56 Fatal Error: Cannot map library James W. Caldwell
2002-09-26 21:25 ` SUMMARY: disabling r* commands Jonathan Williams

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