Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Ttysnoop, telnet broken after install
wwtk
post Oct 9 2003, 09:11 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 9-October 03
Member No.: 1,586



Hello,

I have installed ttysnoop 12c-7 on Debian linux (woody) running kernel 2.2.20, checked /etc/snooptab (made no changes), added -L /usr/sbin/ttysnoops to /etc/inetd.conf, hup'd inetd, and now when I try to telnet to the machine, I get the error, can't bind server socket (/var/spool/ttysnoop/ttyp0) can't set termios.

There are no files in /var/spool/ttysnoop/, and I assume there should be a socket or something there for ttysnoops to bind to. The question is are these files dynamically created, or do I have to create them somehow? I have been unable to find any information about this, so any help would be appreciated.

Thanks,

WWTK
Go to the top of the page
 
+Quote Post
wwtk
post Oct 9 2003, 11:16 AM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 9-October 03
Member No.: 1,586



an interesting addition, if I run ttysnoops from a shell, I get a login prompt, and can log in and snoop that seesion (/var/spool/ttysnoop/ttypX gets created)...........

So I guess it is not the creation of that file that is the problem, but rather some interaction between in.telnetd and ttysnoops?
Go to the top of the page
 
+Quote Post
wwtk
post Oct 9 2003, 11:50 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 9-October 03
Member No.: 1,586



Well, I have it working with a workaround, but I don't like it much. If anyone knows a better way, I would sure like to hear it......

I changed the user and group that in.telnetd runs as to root, and now it works. Not sure I like the telnet daemon running with root authority though.
Go to the top of the page
 
+Quote Post
wwtk
post Oct 9 2003, 12:19 PM
Post #4


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 9-October 03
Member No.: 1,586



Well, I see that it is in the documentation to run as root, guess I should have read a little closer...
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 16th December 2017 - 09:27 PM