Unknown Commands. Crackers?
Hello, I'm using a SuSE-Linux Imap Server 1.1. When I scrolled the last Commands for root at the command promt, I got lots of rows like this PROMPT_COMMAND='pwd>&8;kill -STOP $$' I never used this command and the server ran without an open root shell. Has anyone a hint for me? Thanks a lot! Rainer Frohne
Hi,
PROMPT_COMMAND='pwd>&8;kill -STOP $$'
looks like the stuff 'mc' puts into history, when you use ^o to change from 'mc' to 'shell' mode. nothing to worry about. Bye, Thomas -- Thomas Biege, SuSE GmbH, Schanzaeckerstr. 10, 90443 Nuernberg E@mail: thomas@suse.de Function: Security Support & Auditing "lynx -source http://www.suse.de/~thomas/thomas.pgp | pgp -fka" Key fingerprint = 09 48 F2 FD 81 F7 E7 98 6D C7 36 F1 96 6A 12 47
* Thomas Biege wrote on Wed, Dec 13, 2000 at 08:23 +0100:
PROMPT_COMMAND='pwd>&8;kill -STOP $$'
looks like the stuff 'mc' puts into history, when you use ^o to change from 'mc' to 'shell' mode. nothing to worry about.
We analyzed that on suse-linux (in german language, you may look at the archives). The idea is: A command gets executed by the (sub-) shell of mc. Before the prompt appears the shell writes the current dir (pwd) in a filedescriptor which is read by mc. So mc knows the workdirectory of the shell and is able to display it. After that, the shell stops itself. The mc paints the blue windows. before the next command the shell will receive a SIGCONT. Nice idea IMHO :) oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel.
participants (3)
-
Rainer.Frohne@t-online.de
-
Steffen Dettmer
-
Thomas Biege