- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp problem - ftphosts limitations?
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
08-24-2005 12:44 AM
08-24-2005 12:44 AM
ftp problem - ftphosts limitations?
host_access: Config file too big!!
rhost_ok: sethacc failed
We have had issues in the past where the ftphosts file is to long or one line in the file is too long. I believe the limitation on the length of the ftphosts file is 1000 lines but I am not entirely sure what the line length limitation is. The ftphosts file was over 1000 lines and I have trimmed this down however the issue still remains.
Does anyone know the exact limitation on the ftphosts file and also any further insight on the errors in the syslog file would be great.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 12:59 AM
08-24-2005 12:59 AM
Re: ftp problem - ftphosts limitations?
You can put the domain address and eliminate the putting hosts under that domain.
Also if ftphosts has such limitation, and you want to get around it, you want to put some hosts in /var/adm/inetd.sec and deny then ftpd access.
man inetd.sec for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 01:03 AM
08-24-2005 01:03 AM
Re: ftp problem - ftphosts limitations?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 01:08 AM
08-24-2005 01:08 AM
Re: ftp problem - ftphosts limitations?
If you have hp ssh installed, it comes with built-in tcpwrappers. Make use of /etc/hosts.allow file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 01:10 AM
08-24-2005 01:10 AM
Re: ftp problem - ftphosts limitations?
Its seems faling because the limitation of the ftphosts file ,
the C code that is resposible for this error , rhost_ok: sethacc failed :
hostacc.c ,
--------------
Here is the details:
---------------------------------
int rhost_ok(char *pcRuser, char *pcRhost, char *pcRaddr)
69 {
70 hacc_t *ptHtmp;
71 char *pcHost;
72 char *ha_login;
73 int iInd, iLineMatch = 0, iUserSeen = 0;
74
75 switch (sethacc()) {
76 case 1:
77 /* no hostaccess file; disable mechanism */
78 return (1);
79 /* break; */
80 case -1:
81 syslog(LOG_INFO, "rhost_ok: sethacc failed");
82 endhacc();
83 return (0);
84 /* break; */
85 default:
86 break;
87 }
-----------------------------------
But I dont see this file in hp-ux 11i
Hope u can digout something more ,and help ,
Cheers ,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 01:10 AM
08-24-2005 01:10 AM
Re: ftp problem - ftphosts limitations?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 01:11 AM
08-24-2005 01:11 AM