Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So, this is what I want to do:

there is a local non-superuser and it can upload the file into /tmp.

Using this account, I download a telnet server package equivalent to what is already installed.

I modify some settings, setting all file directories into /tmp.

Then compile and run as a standalone telnet server.

Is this possible? If not, what makes this impossible?

Or as a non-privileged user, would there be any way to enable telnet?

share|improve this question

closed as not a real question by Nifle, Ƭᴇcʜιᴇ007, Renan, ChrisF, bwDraco Sep 22 '12 at 20:04

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

It is possible, but with several limitations:

  • Since you aren't the superuser, your server cannot bind to the standard Telnet port 23, or any other port in 1-1024. (Larger ports should work, unless there are additional restrictions implemented.)

  • Since you aren't the superuser, your server will only allow logins to your own account – it lacks the necessary privileges to switch to other users' accounts.

  • The standard telnetd server doesn't support being run as a "daemon", only inside inetd – and since you cannot modify the system-wide /etc/inetd.conf, you would need to run your own separate inetd (or xinetd, or ucspi-tcp).

In other words, it is basically useless, unless you find a way to get root.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .