[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FTP and TELNET daemons as non root on OSF/1.



Brian A May <bmay@dgs.monash.edu.au> writes:

> That is fine. My guess is that the pututxline might be related to
> not being able to allocate a pty.

Almost, it can't create a utmpx (for things like who) record for this
session. You get the same behaviour with a non-setuid xterm. As it is
now, it bails out after that.

I think your problems are due to timing bugs in telnetd. That it works
at all it just a miracle. Login will also complain about not being run
as root. 

Do you think this is worth fixing, telnetd isn't really designed to be
run as non-root?

/Johan