telnet and alias


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers telnet and alias
# 1  
Old 10-29-2001
telnet and alias

Linux question, upgraded from Linux 6 to 7.1. BUT on the upgrade we lost the DNS config, the alias vitual host and a virtual host email address.
So question is how do i get them all back?
I ran the ifconfig eth0:1 ip.ad.dr.ess whic created the vitual host and ip address but when i reboot it loses this (how do i get it to stick?).
The DNS relies on that host address, but not 100% sure DNS is working correctly.
Also hoe do i configure so i can telnet ot the box? xinet.d is running but ????
Please help
Thanks
olly
# 2  
Old 10-29-2001
Sounds like you are running Redhat, correct?

You can modify your network settings by using the control panels in your X window manager, or by editing the files in /etc/sysconfig/network-scripts/


To allow telnets into the box, edit /etc/xinetd.d/telnet and make sure the "disable" line is set to no. You will have to restart xinetd for the change to take affect. Consider using ssh instead of telnet as a secure solution.
# 3  
Old 10-29-2001
I would consider not even running inetd, period. If you need any of the inetd services, run them as stand alone daemons.
# 4  
Old 10-29-2001
Quote:
Originally posted by shimb0
I would consider not even running inetd, period. If you need any of the inetd services, run them as stand alone daemons.
What is your justification for this?
# 5  
Old 10-30-2001
my justification is that it is internal so security isnt really an issue...yet. i am a new red hat user so ssh i have not yet covered, so i am working with what i know.
if i use ssh how can i connect to the server using terminal emulation software??
# 6  
Old 10-30-2001
PxT,

My justification is this: there are a great deal of vulnerable services that run from within inetd in redhat (ftp, linuxconf, etc). I would just shutoff inetd, and run as standalone services because, at the minimum, this will require the admin to think about whether or not they actually need the service running. Lets say you need ftp. If you do not have inetd running, it will at least force you to get the latest FTP build (protecting against all the latest buffer overflows). I do not use telnet, ftp, or anything that requires to be run out of inetd.

you can use ssh instead of telnet
you can use scp instead of ftp

But that is just my two cents.
# 7  
Old 10-30-2001
Good point, and in fact many of the newer distributions (RedHat, for one) disable everything in inetd (or xinetd) now by default. Then the sysadmin has to go in and turn on just those services that they need.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Difference Between Krb5-telnet And Ekrb5-telnet

Hi, I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ? Thanks in advance :) (0 Replies)
Discussion started by: kashifsd17
0 Replies

2. UNIX for Dummies Questions & Answers

Create alias files (not alias commands)

If one: $ find -name 'some expression' -type f > newfile and then subsequently wants to create an alias file from each pathname the find command retrieved and the > placed within 'newfile', how would one do this? Ideally, the newly created alias files would all be in one directory. I am... (3 Replies)
Discussion started by: Alexander4444
3 Replies

3. UNIX for Dummies Questions & Answers

ALIAS

how to make alias perament? I have edited in .bashrc also but no use:(.How to manke it perament (3 Replies)
Discussion started by: kkalyan
3 Replies

4. UNIX for Dummies Questions & Answers

Automatically login in the telnet from present telnet

Hi, I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password. But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies

5. UNIX for Dummies Questions & Answers

alias help

Hello again, what does \!* do int his line alias lookup 'grep -i \!* who.is.who' Thanks! (1 Reply)
Discussion started by: kris888
1 Replies

6. Shell Programming and Scripting

Webpage to Telnet via Perl and Expect: Telnet problem?

Somewhat long story: I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage. This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies

7. UNIX for Advanced & Expert Users

using alias...

hi.. i want to make an alias in unix, for using it to change of directory by example: if i am in /dtmp/inp/aux and i want to go to /sybase/bd, i want to make an alias named "bd", to go directally to /sybase/bd (alias bd="cd /sybase/bd") i create it, but when i turn off the conection... (2 Replies)
Discussion started by: DebianJ
2 Replies

8. UNIX for Dummies Questions & Answers

Alias

Hello, I'm a beginner to Unix and I want to create an alias that lists the given directory in long format; the alias should use a pager to display the result. Thanks in advance. (2 Replies)
Discussion started by: guelpth
2 Replies

9. UNIX for Advanced & Expert Users

telnet and alias

Linux question, upgraded from Linux 6 to 7.1. BUT on the upgrade we lost the DNS config, the alias vitual host and a virtual host email address. So question is how do i get them all back? I ran the ifconfig eth0:1 ip.ad.dr.ess whic created the vitual host and ip address but when i reboot it... (1 Reply)
Discussion started by: ollyparkhouse
1 Replies
Login or Register to Ask a Question