1

I've been searching for the answer to this but all I find is "It doesn't work".

I am a new, yes. I am still a student and i still learn about it. I am happy to break my OS and format it many times if it comes to that but restrictions of ANY kind on my OS enrage me. I want to be able to break stuff if I want, then learn how I broke it and how to fix it.

I want the safety locks off.

Please tell me how to create admin account as a duplicate root account for telnet and disable root login over network.

Thanks..

0

Well, the safety locks are there for a purpose, and you may learn more by studying why the locks are there in the first place. Having said that:

  1. Give user administration permissions:

    Inexperienced users: don't do this. You will break your system.

    sudo usermod -u 0 [username]

  2. Disable telnet login for a particular user, without disabling local login: Open a terminal (Ctr + Alt + T) and enter sudo nano /etc/hosts.deny. Enter your password when asked, and press enter. At the end of the file, add the line in.telnetd username@hostIP, replacing hostIP with the IP address of the computer that you don't want user username to login from.

  • "Inexperienced users: don't do this. You will break your system." Not if you create a new user first ;) – Rinzwind Feb 25 '15 at 7:52
  • what is the change in the /etc/hosts.deny ?? can you tell me the steps for make it. please.. – gabriel wambrauw Feb 25 '15 at 9:11
  • @gabrielwambrauw I edited the question. – Jos Feb 25 '15 at 9:15
  • and how about the server is linux and the client is windows..? how to solved this case? – gabriel wambrauw Feb 25 '15 at 12:06
  • The changes I describe are made on the server. The client just follows the protocol, its OS is irrelevant. – Jos Feb 25 '15 at 12:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.