Re: Unable to connect as root through telnet on RHEL 4 AS U3
- From: Manuel Arostegui Ramirez <manuel@xxxxxxxxxxxxxx>
- Date: Thu, 27 Apr 2006 11:42:27 +0200
El Jueves 27 Abril 2006 11:36, raghu raman escribió:
Hi all,Linux is configured to run the Telnet , but by default, these services are not
Even after commenting the line
#auth required pam_securetty.so in
/etc/pam.d/login unable to connect as root through
telnet.
Please let me know what else needs to be done to
enable root access through telnet.
Thanks.
Raghu.
enabled. To enable the telnet these service, login to the server as the root
userid and edit the files:
/etc/xinetd.d/telnet
In this file, find the line for disable and change it from the value "yes" to
"no".
After changing the above value(s), you will need to restart the xinetd deamon.
As the root userid, type the following command:
/etc/init.d/xinetd reload
Now before getting into the details of how to configure Red Hat Linux for root
logins, keep in mind that this is VERY BAD security. Make sure that you NEVER
configure your production servers for this type of login.
Simply edit the file /etc/securetty and add the following to the end of the
file:
pts/0
pts/1
pts/2
pts/3
pts/4
pts/5
pts/6
pts/7
pts/8
pts/9
This will allow up to 10 telnet sessions to the server as root.
Cheers.
Manuel.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- References:
- Unable to connect as root through telnet on RHEL 4 AS U3
- From: raghu raman
- Unable to connect as root through telnet on RHEL 4 AS U3
- Prev by Date: Re: Unable to connect as root through telnet on RHEL 4 AS U3
- Next by Date: AW: Re: Fedora core and enterpriose version equivalence
- Previous by thread: Re: Unable to connect as root through telnet on RHEL 4 AS U3
- Next by thread: AW: Re: Fedora core and enterpriose version equivalence
- Index(es):
Relevant Pages
- [Full-Disclosure] RFX Networks
... | in security and scalable server management on varying levels. ... | monitor
to take action during situations of service failure. ... Got Root? ... Your Server
login ID is: ... (Full-Disclosure) - RFX Networks/ RackAdmin.com ALERT
... below was posted to some security websites. ... | in security and scalable
server management on varying levels. ... Got Root? ... Your Server login
ID is: ... (comp.os.linux) - RFX NETWORKS ALERT
... below was posted to some security websites. ... | in security and scalable
server management on varying levels. ... Got Root? ... Your Server login
ID is: ... (alt.linux) - Re: Idea: "SSH Meeting"
... Some telnet allow no root login, maybe you can su - root. ... If you
start telnetd in debug mode, a different port can be specified. ... (comp.os.linux.development.apps) - Re: telnet as root question
... >> make securetty tell telnet and SSH apart? ... >login program
after opening the pts. ... >check securetty to know if root login is allowed. ...
(comp.os.linux.security)