View Single Post

   
  #9 (permalink)  
Old 02-21-2008, 12:20 PM
Mark Hobley
 
Posts: n/a
Default Re: New telnetd installation produces error: login: Permission Denied

In alt.os.linux.gentoo The Natural Philosopher <a@b.c> wrote:

> Ahh. A probe into the guts of the telnetd program reveals
> "/usr/lib/telnetlogin:" which IS SUID root, and is called by telnetd.
>
> ls -l /usr/lib/telnetlogin
> -rwsr-xr-- 1 root telnetd 6032 2005-10-09 17:24 /usr/lib/telnetlogin


Ok, that is interesting. I have that file on the working Debian system,
but on Gentoo the file is located in /usr/sbin/telnetlogin

> So that's something to check on the OP's system, if thats not SUID root,
> it wont be able to work properly.


Ok, that file was not suid, and did not belong to the telnetd group. I
have fixed this.

However, I still get the permission denied error, if I run the telnetd
as user telnetd in inetd.conf

On the Debian system user telnetd is a member of utmp. I have added
telnetd to the utmp group on Gentoo. (I don't know why this is
configured as so.)

Mark.

--
Mark Hobley,
393 Quinton Road West,
Quinton, BIRMINGHAM.
B32 1QE.
Reply With Quote