09-07-2007
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.
Configure Telnet for root logins
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.
Configure FTP for root logins
Edit the files /etc/vsftpd.ftpusers and /etc/vsftpd.user_list and remove the 'root' line from each file.
source:
Configuring Telnet/FTP to login as root (Linux)
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Every one
I disable the root account entering wrong password for many time
How can I enable the root account
I am using Tru64 Unix V4.0G
Thank you (2 Replies)
Discussion started by: Syed_45
2 Replies
2. Linux
hi ,
i have jsut installed linux 9.0 , but i can not ftp or telnet to the system .
i have installed the ftp and the telnet server during installation .
i have also configured the files to enable the ftp and telnet , the ftp and the telnet daemons are running , but when i do ftp :
ftp... (1 Reply)
Discussion started by: ppass
1 Replies
3. Solaris
Hi to All,
I have configured telnet service in my server but am not able to login with root user in Linux Servers.
For that what can i do ?
Please help me
Thanks in Advance. (1 Reply)
Discussion started by: Sharath Kumar
1 Replies
4. Solaris
Hi...
How do I enable SSH and disable telnet..
Also - is there anything special I need to do to ensure that a new user can use ssh and su but not telnet?
Adel (15 Replies)
Discussion started by: ArabOracle.com
15 Replies
5. Cybersecurity
Hi - I have a SUSE Enterprise Linux Server V9 that I have an issue with. Policy says that root connectivity via ssh needs to be disabled. So, to do that, I made the following change in the sshd_config section:
# Authentication:
#LoginGraceTime 2m
#PermitRootLogin yes
PermitRootLogin no... (3 Replies)
Discussion started by: cpolikowsky
3 Replies
6. Linux
hi
iam installed mandriva spring 2009
iam unble to login into gui using root
how to enable it
where the settings are stored (5 Replies)
Discussion started by: seshumohan
5 Replies
7. Solaris
I am not able to get ftp working for Solaris 10 for root user. I am getting login failed error.
331 Password required for root.
Password:
530 Login incorrect.
Login failed.
Tried following things already.
1. SFTP works ok, still would like to know why FTP is not working (curious).
2.... (5 Replies)
Discussion started by: webkid
5 Replies
8. HP-UX
I have a new box that was set up for me and I want to allow telnet to the box as root. I know that it's not secure but due to the nature of what I test I need an easy and reliable way back in if I've messed up the other connection methods(SSH). This is in a protected lab environment. Eventually... (17 Replies)
Discussion started by: gctaylor
17 Replies
9. UNIX for Dummies Questions & Answers
I've been through many threads before i decide to create a separate thread.
I can't really find the solution to my (simple) problem.
Here's what I'm trying to achieve:
As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user.
The only to achieve this is to... (1 Reply)
Discussion started by: canar
1 Replies
LEARN ABOUT ULTRIX
telnetd
telnetd(8c) telnetd(8c)
Name
telnetd - DARPA TELNET protocol server
Syntax
/etc/telnetd
Description
The server supports the DARPA standard TELNET virtual terminal protocol. The TELNET server is invoked when receives a connection request
on the port indicated in the TELNET service description.
The server operates by allocating a pseudo-terminal device for a client, then creating a login process which has the slave side of the
pseudo-terminal as stdin, stdout, and stderr. The server manipulates the master side of the pseudo terminal, implementing the TELNET pro-
tocol and passing characters between the client and login process.
When a TELNET session is started up, sends a TELNET option to the client side indicating a willingness to do remote echo of characters, to
suppress go ahead, and to receive terminal type information from the remote client. If the remote client is willing, the remote terminal
type is propagated in the environment of the created login process. The pseudo terminal allocated to the client is configured to operate
in cooked mode and with XTABS and CRMOD enabled.
Aside from this initial setup, the only mode changes will carry out are those required for echoing characters at the client side of the
connection.
The server supports binary mode, suppress go ahead, echo, and timing mark. It also allows a remote client to do binary, terminal type, and
suppress go ahead.
Restrictions
Some TELNET commands are only partially implemented.
The TELNET protocol allows the exchange of the number of lines and columns on the user's terminal, but does not make use of them.
The terminal type name received from the remote client is converted to lower case.
The server never sends TELNET go ahead commands.
See Also
telnet(1c), pty(4), tty(4), services(5), inetd(8c)
telnetd(8c)