Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux.gentoo    |    Stupid OS you gotta compile EVERYTHING    |    17,684 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 16,076 of 17,684    |
|    The Natural Philosopher to Mark Hobley    |
|    Re: New telnetd installation produces er    |
|    26 Jan 08 20:14:14    |
      XPost: comp.os.linux.misc       From: a@b.c              Mark Hobley wrote:       > I am trying to configure the telnetd service daemon on Gentoo.       >       > I first installed the internet superserver daemon:       >       > emerge netkit-base       >       > I next installed the telnetd server daemon:       >       > emerge netkit-telnetd       >       > I next created a user and group for the telnetd server daemon:       >       > groupadd -g 300 telnetd       > useradd -u 300 -g 300 telnetd       >       > I now modified the telnetd account in /etc/passwd as follows:       >       > telnetd:x:300:300::/nonexistent:/bin/false       >       > (This line is copied from a working telnet server)       >       > Then I created the /etc/inetd.conf configuration file for the internet       > superservice daemon with the following entry:       >       > telnet stream tcp nowait telnetd /usr/sbin/telnetd              Mine says              telnet stream tcp nowait telnetd.telnetd /usr/sbin/tcpd       /usr/sbin/in.telnetd                     >       > Next I start the internet superserver daemon as follows:       >       > /etc/init.d/inetd start       > * Starting inetd ...       >       > Now I telnet the localhost:       >       > telnet localhost       > Trying 127.0.0.1 ...       > Connected to localhost.localdomain.       > Escape character is ']'       >              Thats the telnetd working then..at some level              > Linux 2.6.23.9 (despina.markhobley.yi.org) (1)       > login: Permission Denied.       > Connection closed by foreign host.       >              Thats login crapping out. Permissions of some sort.              .              >       > The error at the login prompt appears before I type in the username, so       > I think the error is related somehow to the login program.       >              So do I.              > I presume that the login: prompt is being generated by the login       > program, and then the program is exiting before user input can be       > collected, so I suspect the login program was running, but I don't know       > for sure. I guess that somehow I have to make a configuration       > change to allow the login program to be used from the telnet virtual       > terminal. (Then again, I might be wrong.)       >              Never had a problem.                     If you can get a root prompt do an:              su - telnetd              And then try :              /bin/login              Thats is close to the permissions it will be running at              Likewise, look in the log files.                            > Thanks in advance to anyone who can help with this.       >       > Mark.       >              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca