[H-GEN] Telnet not working

Christopher Biggs chris at stallion.oz.au
Wed Apr 28 06:02:11 EDT 1999


(Note reply-to: being general at humbug.org.au vs Christopher Biggs <chris at stallion.oz.au>)

Hilton Travis <QuarkComputers at email.com> moved upon the face of the 'Net and spake thusly:

> I have managed to configure my Linux box (RH 5.2) so that I can log on to it
> with my '98 box, and have it pretend to be an NT Domain Controller.  This is
> working well.  I have public and private shares working as required.
> 
> Two questions about what I cannot get working as yet.
> 
> 1. If I create user logon scripts in the /home/netlogon directory using the
> vim editor, they are not readable (due to CR/LF issues) by the Win98 command
> processor.  Is there a Linux app to convert these to Windows (DOS, actually)
> readable?

put this in your .bashrc

alias d2u="perl -pi -e 's/\r\n/\n/g;'"
alias u2d="perl -pi -e 's/\r//g;' -e 's/\n/\r\n/;"

then

        u2d some-filename-pattern

> 
> 2. I have tries to Telnet to the Linux box and keep getting "Login
> incorrect" responses.  I can ftp to this box without any problems.  Is there
> a telnet config file I have not found?  The man page doesn't help me much.
> 

Are you trying to log in as root?  This is explicitly disabled (man
login to see how to enable root logins).

Otherwise, telnet login should require no configuration.

cjb
--
------------------------------------------------------------------------
--- Christopher Biggs - Stallion Technologies - chris at stallion.oz.au ---
--                                                                    --
The IEEE has monitored this electronic mail message, and asserts that no
energy was created or destroyed during its construction or transmission.
------------------------------------------------------------------------

--
This is list (humbug) general handled by majordomo at lists.humbug.org.au .
Postings only from subscribed addresses of lists general or general-post.



More information about the General mailing list