- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- how to stop telnet login with root
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
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
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
тАО06-07-2002 03:58 PM
тАО06-07-2002 03:58 PM
how to stop telnet login with root
i know i should remove the telnet for ssh, however, i can't right yet,it need by some functions.
thanks for your tips
frederick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2002 09:15 PM
тАО06-07-2002 09:15 PM
Re: how to stop telnet login with root
If you are using RH, chkck out /etc/pam.d/login file.
My RH7.3, the first line is
auth required /lib/security/pam_securetty.so
If you don't find this line, root user can be login.
But, do you think this is an only door that cracker can go in? I think your system has another back door that we can not imagine. So recommened action is, re-install & patch your system.
You didn't write the name of the distro. Is it a SecureLinux from HP?
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2002 10:52 PM
тАО06-07-2002 10:52 PM
Re: how to stop telnet login with root
i checked the /lib/pam.d/login,
the line is available, and i tried to comment it in the other computer so as to remake telnet by root in testing, seems it did not work.
frederick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2002 12:06 AM
тАО06-08-2002 12:06 AM
Re: how to stop telnet login with root
Check out /etc/securetty.
This file include terminal device file name to allow root login.
And you can enable to telnet only from your network,
add following into /etc/xinetd.d/telnet.
only_from = your_network_address
Then restart xinetd.
This "only_from" valid not only root user but also other non-root users,too.
If you need sample of the config file, see /usr/share/doc/xinetd-ver/sample.conf
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2002 08:48 AM
тАО06-11-2002 08:48 AM
Re: how to stop telnet login with root
Good Luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2002 08:48 AM
тАО06-11-2002 08:48 AM
Re: how to stop telnet login with root
Then restart xinetd.
Good Luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2002 11:10 PM
тАО06-11-2002 11:10 PM
Re: how to stop telnet login with root
...
pts/0
pts/1
pts/2
...
pts/10
Check your /etc/securetty file and make sure it does not have these lines.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2002 12:08 PM
тАО06-13-2002 12:08 PM
Re: how to stop telnet login with root
What about rlogin and rsh? Since you've already checked /etc/securetty, /etc/pam.d/login and /etc/xinetd.d/telnet, I suggest you also check /etc/hosts.equiv, and ~root/.rhosts in addition to the pam and xinetd confs for rlogin and rsh. Be sure to disable these services immediately if you do not use them.
Also look for suspicious services:
# netstat -anp | grep LISTEN
Have you compared the binaries to those of a clean install?