Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 01:46 PM
11-01-2004 01:46 PM
What should I config in the sever to allow users to open a telnet/ftp session?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 03:11 PM
11-01-2004 03:11 PM
Re: telnet
Thats because telnet uses clear text authentication. Passwords in clear text for all sniffers to see. I've seen it used against me on the public internet and its not pretty.
What you should do is have your users use ssh instead of telnet. Secure authentication.
Here is how to enable telnet:
cd /etc/xinetd.d
vi telnet
It looks like this:
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = yes
}
change disable = yes to :
disable = no
service xinetd restart
You are now done. Do study implementing ssh. The client is free and it is much more secure.
http://www.openssh.org
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 03:42 PM
11-01-2004 03:42 PM
Re: telnet
the above sentences are absolutely true . One more thing you should consider if pam.d
is istalled you can't login in to system as a administrator through the telnet session . for that go to /etc/pam.d / edit the file login in the fourth line you can find the following line change the word required to sufficient
session required /etc/security/pam_stack.so service =system-auth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 05:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 02:30 AM
11-02-2004 02:30 AM
Re: telnet
Ramkumar, the pam_stack.so does not exist in /etc/security/, it exists in /lib/security/. So that, the line to change (as it appears) into /etc/pam.d/login is:
session sufficient /lib/security/pam_stack.so service=system-auth
But I have modified and restarted the server and I cannot telnet with root user.
Any other idea to telnet with root user?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 02:43 AM
11-02-2004 02:43 AM
Re: telnet
pts/0
pts/1
pts/2
and so on....
I'd add at least until pts/20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 02:49 AM
11-02-2004 02:49 AM
Re: telnet
What about the FTP? how can I allow users to FTP to this server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 09:22 AM
11-02-2004 09:22 AM
Re: telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 09:35 AM
11-02-2004 09:35 AM
Re: telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 06:05 PM
11-02-2004 06:05 PM
Re: telnet
For transferring files, again if no program requires it, use SCP.
Don't worry, clients for these are freely available on windows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 07:48 PM
11-02-2004 07:48 PM
Re: telnet
there is a simple way to enable or disable services in redhat linux. type ntsysv. in this tool you can select or deselct the services registered in redhat linux so you don't have to change configfiles like steven told you. but for telnet you have to add to /etc/securetty the pts/0, pts/1 ... lines for any concurent session. so if you want to allow 20 users to connect to your server and everyone opens two telnet sessions you have to add pts/0 to pts/39 to your /etc/securetty. the better way is to use ssh if it's possible for you because ssh is much more secure (passwords aren't transmitted plain text, they are encrypted).
for ftp server you have to enalbe the vsftp in ntsysv and have a look at the following thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=698075
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2004 06:29 AM
11-03-2004 06:29 AM
Re: telnet
RH install does not install these tools by default. You must select them.
There is no difference to using telnet vs ssh - only the command syntax changes for the end user. Of course behind the scenes there is encryption. If the syntax is an issue the alias the commands.
For windows, PUTTY is a free tool that can be downloaded from the net and the tools are already in binary form - no building.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2004 12:32 AM
11-29-2004 12:32 AM
Re: telnet
Starting a new telnet session can sometimes take a long time, sometimes ~30 sec to get a login prompt.
This is often caused by the server wanting to do a reverse DNS lookup to find out who is connecting.
If you are running DNS, check named and resolv.conf to find out how IP adresses are resolved.
If you aren't running DNS, you can fix this just by listing all the machines in /etc/hosts. Note that you don't have to be accurate about the names: I often use the ip adress with "_" substituted for the "."'s, like "host_192_168_2_3" and so on. A simple script:
#!/bin/ksh
x=1
while [ $x -lt 255 ]
do
echo "192.168.0.$x host_$x"
x=$((x + 1 ))
done >> /etc/hosts