- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- telnet to linux box from remote
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
05-27-2005 11:05 PM
05-27-2005 11:05 PM
telnet to linux box from remote
what should be the entry in /etc/securetty and /etc/pam.d/telnet file to give telnet access to root from remote m/c.
Regards
Mangesh Khatav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2005 11:14 PM
05-27-2005 11:14 PM
Re: telnet to linux box from remote
If so, scrap the idea immediately, and look at using SSH instead, much more secure (and strangely considerably easier).
If you're only talking about trusted local networks, then the only reliable way to do it is to modify '/etc/pam.d/login' and comment out the 'auth required pam_securetty.so' line.
Please not that this method is highly ill-advised! You should be logging in as a non-admin user, and 'su -' to get root access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2005 11:36 PM
05-27-2005 11:36 PM
Re: telnet to linux box from remote
what will be the problem.
pls help
Mangesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2005 11:39 PM
05-27-2005 11:39 PM
Re: telnet to linux box from remote
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2005 11:52 PM
05-27-2005 11:52 PM
Re: telnet to linux box from remote
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2005 11:54 PM
05-27-2005 11:54 PM
Re: telnet to linux box from remote
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2005 11:54 PM
05-27-2005 11:54 PM
Re: telnet to linux box from remote
There is nothing you can add to '/etc/securetty' in order to allow a 'telnet' user to log in as 'root'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 09:58 PM
05-29-2005 09:58 PM
Re: telnet to linux box from remote
My idea: if security is an issue, don't use telnet (and rsh/remsh, rlogin, rexec). If security is not an issue, securetty can be off (`mv /etc/securetty /etc/securetty.off`).
If you are somewhere in the middle, keep securetty and telnet. Login with your own account and change to root with `su`, `super` or `sudo` (or s-bits on executables)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 10:12 PM
05-29-2005 10:12 PM
Re: telnet to linux box from remote
in order to be able to login as root via telnet simply add to /etc/securetty
pts/0
pts/1
pts/2
pts/3
and so on until let's say
pts/10
Unless you want this system to be honey pot for hackers -do not connect it to the public network
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2005 02:12 AM
05-30-2005 02:12 AM
Re: telnet to linux box from remote
if not then have a check on log files in /var/login this will maybe reveal more info/pointer to problem.
like ex:
tail -20 /var/log/messages
tail -20 /var/log/security
or even better (at the same time that you try to log in as root)
tail -f /var/log/messages
Having said all this unless you have an absolute reason to use to use telnet, do not do this use ssh instead
by using telnet or ftp the user password is transmited in clear on the network (Lan and/or Wan)
Jean-Pierre Huc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 02:11 AM
05-31-2005 02:11 AM
Re: telnet to linux box from remote
First let me repeat the same as the others -- do not use telnet, use ssh instead. Telnet is not secure. If you are in a very trusted network and need to use telnet for some reason, then do not telnet to the root account, telnet to some mortal account and then use sudo or something like it to become surepuser.
Things to check:
Is telnet server installed? Try this:
rpm -qa | grep telnet
if not install it.
Is telnet service enabled?
chkconfig --list | grep telnet
if not enable it:
chkconfig telnet on
Regards,
Ross
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 01:21 AM
06-02-2005 01:21 AM
Re: telnet to linux box from remote
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2005 11:11 AM
06-03-2005 11:11 AM
Re: telnet to linux box from remote
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 10:10 PM
06-06-2005 10:10 PM
Re: telnet to linux box from remote
1. Edit /etc/pam.d/login file, and put a comment (#) in front of the line containing securetty.so, and
2. Edit /etc/securetty, and add all the pseudo ttys in this file, one in each line, like:
pts/0
pts/1
...
...
Regards,
Suraj