Click to See Complete Forum and Search --> : telnet? where is my telnet!


GreyGh0st
08-13-2002, 05:19 PM
after i got samba working (oh boy, i'm an uberhacker now... :p ), telnet stopped working... that was a few months ago.

i recently returned to my linux box and found a log in
/var/log/secure


Aug 12 23:32:21 omaha in.telnetd^M[727]: connect from 10.1.100.1
Aug 12 23:32:21 omaha in.telnetd^M[727]: error: cannot execute /usr/sbin/in.telnetd^M: No such file or directory


where'd the "^M" come from? :mad:
it started right after the samba install.

May 24 01:17:28 omaha in.ftpd[644]: connect from 10.1.100.1

ftp works fine but i noticed that:

May 21 11:23:50 omaha in.fingerd^M[573]: connect from 10.1.100.1
May 21 11:23:50 omaha in.fingerd^M[573]: error: cannot execute /usr/sbin/in.fingerd^M: No such file or directory


finger won't either. from the best of my newbie abillities, :rolleyes: i deduced that the samba install must have added a "^M" in some files somewhere. do you have any idea where?

any help would be greatly appreciated

thanks

i_like_peanut_butter
08-13-2002, 05:24 PM
You didn't edit any of you Linux config files in MS-Notepad did you?

MS software adds a stray character at the end of lines, all part of their "embrace and extend" attitude towards standards. I think it is the ^M but don't remember for sure. Some guy wrote a nifty perl utility that cleaned up MS junk from text files. The name escapes me though...

GreyGh0st
08-13-2002, 05:28 PM
thanks... yea i was just thinking about that... stupid me.
why should i expect a microsoft product to handle this.

thanks again

i_like_peanut_butter
08-13-2002, 06:29 PM
Here's the perl program (http://www.fourmilab.ch/webtools/demoroniser/) that fixes it. It is meant to fix html pages created by MS Word or Frontpage. It is not meant to fix problems like yours, but it does help clean up alot of html files created in MS products.

lpahdoco
08-14-2002, 02:13 PM
Thanks for the link pb -- GREAT tool.

LP

i_like_peanut_butter
08-14-2002, 03:09 PM
Thank the guy that wrote it, I just stumbled across it one day.

The guy who wrote it is funny and/or was pissed off. Calling it "demoroniser" and his quote about MS's smart quotes: "When microsoft calls something 'smart' usually means it is pretty dumb"

Cracked me up.