Prev: call gethostbyname() after device reacquires IP address
Next: Creating a redundant server and VCS
From: Mark Hobley on 25 Mar 2007 13:03 In comp.os.linux.networking Jim <adirondackmtn(a)yahoo.com> wrote: > > message. The exact message is: gumby inetd[614]: telnet/tcp: No > such user 'telnetd.telnetd', service ignored. > I don't see a telnetd> process running. Ok, lets check some file ownerships and permissions: ls -l /usr/sbin/in* -rwxr-xr-x 1 root root 22720 2006-02-07 02:21 inetd -rwxr-xr-x 1 root root 35940 2005-10-09 17:24 in.telnetd ls -l /usr/lib/telnetlogin -rwsr-xr-- 1 root telnetd 6032 2005-10-09 17:24 /usr/lib/telnetlogin Note: suid > My passwd entry is: telnetd:x:103:103::/nonexistent:/bin/false > My group entry is: telnetd:x:103: Check that they also exist in shadow and gshadow. grep "telnet" /etc/services telnet 23/tcp telnet 23/udp cat /etc/hosts.allow ALL: 127.0.0.1 Is inetd running as root? ps -ef|grep "inetd" root 21241 1 0 Feb26 ? 00:00:34 /usr/sbin/inetd Try adding "-a none" to telnet command in inetd. Try running the telnetd and -D debugging options. I believe that you can use sudo to run an user telnetd. There may be some issues with PAM modules, but I don't know much about these. Regards, Mark. -- Mark Hobley 393 Quinton Road West QUINTON Birmingham B32 1QE Telephone: (0121) 247 1596 International: 0044 121 247 1596 Email: markhobley at hotpop dot donottypethisbit com http://markhobley.yi.org/
From: Jim on 4 Apr 2007 19:12 On Mar 25, 10:03 am, markhob...(a)hotpop.deletethisbit.com (Mark Hobley) wrote: > In comp.os.linux.networking Jim <adirondack...(a)yahoo.com> wrote: > > > > > message. The exact message is: gumby inetd[614]: telnet/tcp: No > > such user 'telnetd.telnetd', service ignored. > > I don't see a telnetd> process running. > > Ok, lets check some file ownerships and permissions: > > ls -l /usr/sbin/in* > > -rwxr-xr-x 1 root root 22720 2006-02-07 02:21 inetd > -rwxr-xr-x 1 root root 35940 2005-10-09 17:24 in.telnetd > > ls -l /usr/lib/telnetlogin > > -rwsr-xr-- 1 root telnetd 6032 2005-10-09 17:24 /usr/lib/telnetlogin > > Note: suid > > > My passwd entry is: telnetd:x:103:103::/nonexistent:/bin/false > > My group entry is: telnetd:x:103: > > Check that they also exist in shadow and gshadow. > > grep "telnet" /etc/services > > telnet 23/tcp > telnet 23/udp > > cat /etc/hosts.allow > > ALL: 127.0.0.1 > > Is inetd running as root? > > ps -ef|grep "inetd" > root 21241 1 0 Feb26 ? 00:00:34 /usr/sbin/inetd > > Try adding "-a none" to telnet command in inetd. > > Try running the telnetd and -D debugging options. I believe that you can use > sudo to run an user telnetd. > > There may be some issues with PAM modules, but I don't know much about these. > > Regards, > > Mark. > > -- > Mark Hobley > 393 Quinton Road West > QUINTON > Birmingham > B32 1QE > > Telephone: (0121) 247 1596 > International: 0044 121 247 1596 > > Email: markhobley at hotpop dot donottypethisbit com > > http://markhobley.yi.org/ Mark, I appreciate all your help. I tried most of your suggestions last week--I still haven't tried the "-a none" option though. I've been busy getting the rest of my system up (lirc, irmp3). Since it works OK with root as the owner, I'm gonna leave it for now. I don't have that linux box routed to the internet, so it's not really a big deal. I just wanted to fix it for the sake of learning. I'll try your last suggestion, and if it doesn't work, I'll periodically do a newsgroup search to see if anyone else has the problem/solution. Thanks again! Jim
First
|
Prev
|
Pages: 1 2 Prev: call gethostbyname() after device reacquires IP address Next: Creating a redundant server and VCS |