- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Network Connection to Server
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
Forums
Discussions
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-14-2002 06:30 AM
06-14-2002 06:30 AM
Network Connection to Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 06:39 AM
06-14-2002 06:39 AM
Re: Network Connection to Server
The 'inetd.sec' file should certainly serve your purpose. Have a look at the man pages ('man (4) inetd.sec'). There are some examples and guidelines for dealing with multiple servers. Changes to 'inetd.sec' apply to any subsequent connections.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 06:41 AM
06-14-2002 06:41 AM
Re: Network Connection to Server
login deny 10.* 192.54.*
ftp deny 10.* 192.68.*
...
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 06:46 AM
06-14-2002 06:46 AM
Re: Network Connection to Server
Use inetd.sec. Do "man inetd.sec" for more info on how to use this.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90685/B2355-90685_top.html&con=/hpux/onlinedocs/B2355-90685/00/00/10-con.html&toc=/hpux/onlinedocs/B2355-90685/00/00/10-toc.html&searchterms=inetd.sec&queryid=20020614-075548
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 06:48 AM
06-14-2002 06:48 AM
Re: Network Connection to Server
Just put as follows
servive_name alllow/deny host,network
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 07:30 AM
06-14-2002 07:30 AM
Re: Network Connection to Server
Whats I added to the file:
login deny "servname"
login deny "servername"
login deny "servername"
Is there a command to restart the file or what.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 07:46 AM
06-14-2002 07:46 AM
Re: Network Connection to Server
The reason for your problem can be found in the man pages: "Multiple allow|deny lines for each service are not supported. If there are multiple allow|deny lines for a particular service, all but the last line are ignored."
You need to do something like:
login deny servername1 servername2 servername3 servername4
Have a look at those pages, again. ;-)
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 09:31 AM
06-14-2002 09:31 AM
Re: Network Connection to Server
login deny servername1 servername2 servername3
So the problem still exist. What files are associated with this inetd.sec that need to be a certain way in order for this to work. The permision on the file is 444.
I'm not doing rlogin command on this server, just a regular telnet command. I know in the inetd.sec you can specify who you want to have access to rlogin to your server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 09:45 AM
06-14-2002 09:45 AM
Re: Network Connection to Server
telnet deny servername1 servername2 servername3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 09:52 AM
06-14-2002 09:52 AM
Re: Network Connection to Server
Sorry, you did say "telnet" in your post. I was focused on the syntax you offered which referenced "login". My comment was meant to focus you on the fact that multiple lines with the same referenced service must *not* declare the service more than once. Using the backslash to continue lines is appropriate as the man pages show.
The Forum appears to be striping the backslash (continuation) character from replies. I've reported that in Dan's Issues thread.
In any event, glad all's well!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 07:41 AM
06-19-2002 07:41 AM