Discussion Locked
0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
blog root
8 replies
by ariefk
Finally I got my onw blog... hope that I will keep it updated
by ariefk
These days ssh are widely used to do remote console session to *nix server.
But now, for the shake of knowledge, I'm going to describe how to enable telnet using RedHat.
I hope it would be useful, at least for myself.
Logging in via Telnet
First off, avoid using telnet if at all possible. Telnet sends all of its information "in the clear," meaning that its communication (including passwords) can be easily intercepted. Instead, use the secure SSH protocol. OpenSSH and OpenSSL RPMs are available are available at ftp://ftp.redhat.com for quick, easy, and secure way to remotely connect to your machine.
If you must use telnet rather than SSH, you should make sure you have the Telnet server installed by logging in as root and typing the following command:
rpm -qa | grep telnet
You should see a result with two packages, one of which is telnet-server. If you do not see telnet-server, install it from off of the installation CD-ROM by logging in as root, inserting the CD-ROM (or the first installation CD-ROM in Red Hat Linux 7), and typing the following commands:
mount /mnt/cdrom
cd /mnt/cdrom/RedHat/RPMS/
rpm -ivh telnet-serv*
Also, in 6.2 and before, make sure that you have the Telnet service in /etc/inetd.conf activated;
(uncommented), then restart the service after any changes by typing:
service inetd restart
Under 7, you need to check the file /etc/xinetd.d/telnet to be sure Telnet is activated
then type:
service xinetd restart
This will restart the xinetd service and activate any changes you have made.
You will also need to edit /etc/hosts.allow and /etc/hosts.deny to make sure that Telnet access is allowed to the machine.
But now, for the shake of knowledge, I'm going to describe how to enable telnet using RedHat.
I hope it would be useful, at least for myself.
Logging in via Telnet
First off, avoid using telnet if at all possible. Telnet sends all of its information "in the clear," meaning that its communication (including passwords) can be easily intercepted. Instead, use the secure SSH protocol. OpenSSH and OpenSSL RPMs are available are available at ftp://ftp.redhat.com for quick, easy, and secure way to remotely connect to your machine.
If you must use telnet rather than SSH, you should make sure you have the Telnet server installed by logging in as root and typing the following command:
rpm -qa | grep telnet
You should see a result with two packages, one of which is telnet-server. If you do not see telnet-server, install it from off of the installation CD-ROM by logging in as root, inserting the CD-ROM (or the first installation CD-ROM in Red Hat Linux 7), and typing the following commands:
mount /mnt/cdrom
cd /mnt/cdrom/RedHat/RPMS/
rpm -ivh telnet-serv*
Also, in 6.2 and before, make sure that you have the Telnet service in /etc/inetd.conf activated;
(uncommented), then restart the service after any changes by typing:
service inetd restart
Under 7, you need to check the file /etc/xinetd.d/telnet to be sure Telnet is activated
then type:
service xinetd restart
This will restart the xinetd service and activate any changes you have made.
You will also need to edit /etc/hosts.allow and /etc/hosts.deny to make sure that Telnet access is allowed to the machine.
by jaqui
okay, just one question..
why use something that is about as usefull as windows 95?
RH7 is ancient.
the current would be RH14 if they hadn't changed the numbering style.
why use something that is about as usefull as windows 95?
RH7 is ancient.
the current would be RH14 if they hadn't changed the numbering style.
by ariefk
Good point, from my point of view, in the 'Linux' world, as long as you keep patched, you won't miss the train. I still have a an Oracle database server which runs RH6.2 and runs well upto now.
by ariefk
Telnet as root
Red Hat does not recommend allowing a root user to telnet to a remote machine. There are many reasons for this, not the least of which is the fact that sending raw text root passwords over a network is not a good idea.
A better alternative than telnet is ssh, an encrypted version of telnet, which provides a secure connection to remote machines.
If root access is needed remotely, a user should login to the local machine as a normal user and then su to root before telnetting to the remote machine.
To allow a root user to telnet into a machine, login as root and add the following lines to the /etc/securetty file:
pts/0
pts/1
pts/2
Red Hat does not recommend allowing a root user to telnet to a remote machine. There are many reasons for this, not the least of which is the fact that sending raw text root passwords over a network is not a good idea.
A better alternative than telnet is ssh, an encrypted version of telnet, which provides a secure connection to remote machines.
If root access is needed remotely, a user should login to the local machine as a normal user and then su to root before telnetting to the remote machine.
To allow a root user to telnet into a machine, login as root and add the following lines to the /etc/securetty file:
pts/0
pts/1
pts/2
by ariefk
Create New Partition
Create partition
# fdisk /dev/hda
Make filesystem
# mke2fs /dev/hda2
Create Journal Filesystem (ext3)
# tune2fs -j /dev/hda2
Label device (optional)
# e2label /dev/hda2 /var
Check /etc/fstab and /etc/mtab to mount on boot
Create partition
# fdisk /dev/hda
Make filesystem
# mke2fs /dev/hda2
Create Journal Filesystem (ext3)
# tune2fs -j /dev/hda2
Label device (optional)
# e2label /dev/hda2 /var
Check /etc/fstab and /etc/mtab to mount on boot
by wederik
Thanks for this How-to.
Can you perhaps tell me how to remove SUSE 10.1 from my PC (with windows 98)
and re-install it? I seem to have messed up an update and now have two Linux
installations with different passwords causing me a spot of bother.
Thanks
Wederik
by ariefk
How about using Partition Magic ?
This discussion is closed to new replies.
Trending After Hours posts
Sort by Trending
Question Unanswered
What Instagram content works best for a practical digital planner?
0 helpful
0 replies
0 helpful
2 replies
0 helpful
10 replies
0 helpful
3 replies
Discussion
Hello everyone
0 helpful
3 replies