- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- root blocked for network services
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
07-16-2002 11:51 AM
07-16-2002 11:51 AM
I'm tying to connect my Linux server by telnet, ftp, rlogin services, but, using the user root I can't get access, and using other users there is no problem. The message returned for the root when I try to use any network service is that the login is incorrect.
Do I need configure any access file to provide the access for the root user??
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 12:13 PM
07-16-2002 12:13 PM
Re: root blocked for network services
I assume you use a redhat distro :
for telnet add the following lines to
/etc/securetty
pts/0
pts/1
pts/2
...
for rlogin add the following line to
/etc/securetty
rlogin
for ftp (assume wu-ftp) add the following
to /etc/ftpaccess
allow-uid root
allow-gid root
Remember that it's not safe to use telnet
or rlogin , ssh is much better
Hope this helps.
Regards
Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 12:14 PM
07-16-2002 12:14 PM
Re: root blocked for network services
... i forgot , i think its also nessasary
to restart xinetd before it will work
-> service xinetd restart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 05:55 PM
07-16-2002 05:55 PM
SolutionTalking about telnet login by root, you need to change /etc/pam.d/login.
Find following line, then make it "comment".
auth required /lib/security/pam_securetty.so
Without this line, telnet login never check /etc/securetty file.
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 04:02 AM
07-17-2002 04:02 AM
Re: root blocked for network services
you can also mv the securetty file:
mv /etc/securetty /etc/securetty.save
this prevents all network services to look into this file. You will also have to change a parameter in the telnet- file :
disable = yes --> change it to "no", otherwise root will never be able to telnet anything.
And yes, you *have* to restart xinetd.
This should do it for you, but as allready mentioned, never forget, telnet as root is a sucurity hole! Better telnet the remote host as a normal user and then do a su to root...
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 04:11 AM
07-17-2002 04:11 AM
Re: root blocked for network services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 06:48 AM
07-17-2002 06:48 AM
Re: root blocked for network services
when you are telnetting to a remote host, you are forced to give a root password..... and the telnet service is using *no* data encryption. So if anybody in your network has a sniffer software....(like nettl on HP-UX or snoop on Solaris) he simply gets your root password. And this *is* unsecure! Further on, telnet sessions are relatively easy to overtake when you finish them.
So the better choice is *never* to telnet as root directly but do a switch user on the remote host to root. Or to use some terminal emulator software that use data encryption, like ReflectionX or Hummingbird Exeed.
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 03:39 AM
07-29-2002 03:39 AM
Re: root blocked for network services
One small thing. Restarting 'xinetd' in this case is not necessary. If 'xinetd' has to be reconfigured, issuing the following command :
kill -SIGUSR1 `cat /var/run/xinetd.pid`
would reconfigure 'xinetd' service without stopping it.
Thanks.
Soumen Ghosh