1819836 Members
2798 Online
109607 Solutions
New Discussion юеВ

Fedora Linux server

 
SOLVED
Go to solution
sks
Occasional Advisor

Fedora Linux server

Hello All

I am having Linux (Fedora)serevr,I am not able to connect to the server through Telnet by root user, it is giving error that login incorrect, while through other users I am able to connect to server successfully.


KS
5 REPLIES 5
john kingsley
Honored Contributor
Solution

Re: Fedora Linux server

You will need to modify the PAM configuration. By default, PAM is setup to restrict root login to only terminals listed in /etc/securetty. You will either need to modify this file, or to allow root to login from anywhere you will need to remove the line:
auth required pam_securetty.so
from:
/etc/pam.d/login
john kingsley
Honored Contributor

Re: Fedora Linux server

.... Also, don't forget that telnet transmits unencrypted passwords accross the network. That is why pam is configured this way by default. You should try to use ssh if you can. SSH should have been loaded by default.
Victor Fridyev
Honored Contributor

Re: Fedora Linux server

Hi,

By default, in order to reduce intrusion damage, root user may not connect to a computer via network directly, only via console or with su from a logged in user.
In order to change the degaul, look at files in /etc/security. One of them, console.perms should permit to root telnet access.

HTH
BTW, why do you use FEDORA ? AS2.1 is much better
Entities are not to be multiplied beyond necessity - RTFM
sks
Occasional Advisor

Re: Fedora Linux server

Hi ,

Thanks a lot , I just modified the same file,problem get solved,

once again thanks for the quick response.

KS
Ragu_3
Trusted Contributor

Re: Fedora Linux server

Do not make root login by modifying the default pam settings. It is meant to remain like that! You can use ssh or telnet-ssl to login an user, after which that user can acquire root privileges via su. Take care ....
Debian GNU/Linux for the Enterprise! Ask HP ...