- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: hosts.allow and username lookup
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-08-2003 10:53 PM
07-08-2003 10:53 PM
hosts.allow and username lookup
Is it possible to restrict the use of a daemon to a specific user on a specific host?
For example:
allow telnet connection from 10.10.10.1 for user root only.
P.S. /etc/hosts.allow: "in.telnetd: root@10.10.10.1" does not work.
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 11:29 PM
07-08-2003 11:29 PM
Re: hosts.allow and username lookup
adding the line 'only_from =
this lets you to filter specific ip addresses.
regarding the users, I think you should work on the configuration of the specific deamon. xinetd manages only the network connections.
look at man xinetd.conf, man xinetd
Ciao
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 01:59 AM
07-09-2003 01:59 AM
Re: hosts.allow and username lookup
will help you to solve your problem.
you can specify if a specific user/group can/can't login from specific machine
see the file for examples.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 04:01 AM
07-09-2003 04:01 AM
Re: hosts.allow and username lookup
As far as root goes, Linux specifically is configured to prevent root telnet login due to the security hazard.
Better off with openssh. Exchange public keys and do the login thing without passwords at all.
Doc attached.
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
07-09-2003 05:13 AM
07-09-2003 05:13 AM
Re: hosts.allow and username lookup
I have placed in /etc/pam.d/login the following line: account required /lib/security/pam_access.so. Then in /etc/security/access.conf placed:
-:ALL EXCEPT root:10.10.10.1
It doesn`t seems to work.
Anyone out there who has successfully implemented /etc/security/access.conf?
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 07:05 AM
07-09-2003 07:05 AM
Re: hosts.allow and username lookup
I forgot to mention
you should also add a line in
/etc/pam.d/login
right after the "account" line
it should look like this
account required pam_access.so
do it and it will work