Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

telnet with root

  • 04-04-2003 12:37pm
    #1
    Closed Accounts Posts: 38


    Hi!,

    Running a Suse8 box.

    Security makes it so that a root account cannot use telnet to connect to my machine you have to login as "root" locally or with SSH. I understand why with unencryped p/w's being sent with telnet over a network however i dont care about the security i want to know if anyone knows how to allow root to telnet to my machine.
    Any help appreciated
    Spartic


Comments

  • Closed Accounts Posts: 1,141 ✭✭✭fisty


    log in normally and then
    su
    password
    i think that does it.


  • Registered Users, Registered Users 2 Posts: 330 ✭✭deepspeed


    theres an option in one of the SuSE configuration files..

    I'll check for you when i get to my suse box, it will be later this evening..

    ITs a flag you set. its somewhere like /etc/SuSEconfig

    I'll find out for defininte this evening.


  • Registered Users, Registered Users 2 Posts: 1,038 ✭✭✭rob1891


    man login

    or

    google telnet root disable


    ......

    http://sdb.suse.de/en/sdb/html/telnet80.html
    Telnet Root Login
    Deutsch Magyarul

    Email address:
    Support knowledgebase (telnet80)
    Applies to

    SuSE Linux: Version 8.0

    Situation

    You want to log in as root to your SuSE Linux 8.0 via telnet.
    Procedure

    Edit the file
    /etc/pam.d/login

    and disable the line
    auth required pam_securetty.so
    Warning

    Never use telnet for remote applications, since the whole data exchange takes place in an unencrypted way. Even your login (password) is transmitted unencrypted on the network. Telnet involves a high security risk. Thefore, we recommend you to use encrypted tools such as OpenSSH, for which Windows and MacOS clients are also available. You can find more information on this program at OpenSSH.org
    See also:

    Root and security, login in over the net
    Logging in as root remotely

    Keywords: TELNET, ROOT, LOGIN, SSH, 80, RC.CONFIG, SYSCONFIG
    Categories: Internet
    SDB-telnet80, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 17. Jun 2002
    SuSE Linux AG - Last generated: 17. Jun 2002 by ip (sdb_gen 1.40.0)


  • Closed Accounts Posts: 5,564 ✭✭✭Typedef


    Don't use telnet to login as root.

    Instead just allow root ssh logins, but, preferably

    ssh into your box as a 'normal' user.
    then su to root.

    Typedef : Boring when it comes to system security.


  • Registered Users, Registered Users 2 Posts: 1,186 ✭✭✭davej


    Don't do what Donnie don't does.

    However:

    edit this file:

    /etc/securetty

    add entries like the following

    pts/1
    pts/2
    pts/3
    pts/....etc

    davej


  • Advertisement
  • Closed Accounts Posts: 7,563 ✭✭✭leeroybrown


    It's just a matter of good protocol not to use telnet full stop. (remove the telnetd and/or comment it out in /etc/inetd.conf)

    And as mentioned, preferably you should ssh to a user a/c and then su to root. The only real reason I'd see for ssh'ing directly to root would be in a case where you felt that your user a/c may have been comprimised, etc.

    As for telnet to root ... just a bad habit you're better off avoiding.


Advertisement