Enable ftp port


 
Thread Tools Search this Thread
Operating Systems HP-UX Enable ftp port
# 8  
Old 04-26-2012
The simplest would be to use inetd.sec

Code:
# @(#)B.11.11_LRinetd.sec $Revision: 1.10.214.1 $ $Date: 96/10/08 13:20:06 $
#
#
# The lines in the file contain a service name, permission field and
# the Internet addresses or names of the hosts and/or networks 
# allowed to use that service in the local machine.
# The form for each entry in this file is:
#
# <service name>   <allow/deny>  <host/network addresses, host/network names>
#
# For example:
# 
# login         allow   10.3-5 192.34.56.5 ahost anetwork
#
# The above entry allows the following hosts to attempt to access your system 
# using rlogin: 
#               hosts in subnets 3 through 5 in network 10, 
#               the host with Internet Address of 192.34.56.5,
#               the host by the name of "ahost",
#               all the hosts in the network "anetwork"
#
# mountd      deny    192.23.4.3
#
# The mountd entry  denies host  192.23.4.3  access to the NFS  rpc.mountd
# server.
#
# Hosts and network names must be official names, not aliases.
# See the inetd.sec(4) manual page for more information.
dtspc   allow   127.0.0.1       loopback 
shell   deny    0.0.*
ftp     allow    host1 host2 host3
#etc...

# 9  
Old 04-26-2012
Hi vbe,

Thanks for the reply.

However file /var/adm/inetd.sec is not available on my HP-UX box.

Can I manually create the file using above mentioned format?

Do I need to restart the inted daemon after creating the file?
# 10  
Old 04-27-2012
It is an optional file, in other words you have to create one that is why I gave you an extract to copy if needed...
Yes after you force inetd to to read the configs by typing:
Code:
inetd -c

This User Gave Thanks to vbe For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Enable Annonymous FTP login.

Hi, I am transferring my report files to another FTP server which the end users are downloading later. But while accessing the FTP server its asking for username and password which i don't want to share to the end users rather i want to make the login as anonymous so that it... (3 Replies)
Discussion started by: Showdown
3 Replies

2. HP-UX

FTP service Enable/Disable

hi everybody, I can easily enable /disable the FTP service from SAM, how can I do this via command line? using inetd? how? cheers, messi (1 Reply)
Discussion started by: messi777
1 Replies

3. Solaris

How to enable Serial port on ILOM, when Network Port is enabled in parallel

Hi Everyone, In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies

4. Solaris

Enable FTP for root user in Solaris 10

I am not able to get ftp working for Solaris 10 for root user. I am getting login failed error. 331 Password required for root. Password: 530 Login incorrect. Login failed. Tried following things already. 1. SFTP works ok, still would like to know why FTP is not working (curious). 2.... (5 Replies)
Discussion started by: webkid
5 Replies

5. Solaris

How to enable hba port of a two port hba card

Hi, i have a two port hba card in solaris 10 system one of which is disabled. How to enable and configure the other port. ---------- Post updated at 08:17 AM ---------- Previous update was at 03:40 AM ---------- please help :( (7 Replies)
Discussion started by: rishiraaz
7 Replies

6. UNIX for Dummies Questions & Answers

USB port is disabled using BIOS, I want to enable it

Hi, I have PC with Linux OS RHEL3 and USB port is disabled from BIOS. BIOS access is protected using password. But, I have root access. Now, how can I enable USB port using root access? Is there any trick that I can do using root access that can enable USB port once my PC has booted up? (3 Replies)
Discussion started by: gydave
3 Replies

7. Red Hat

enable FTP access / check version

how can I check the Linux version? (14 Replies)
Discussion started by: zp523444
14 Replies

8. Solaris

Solaris 8 - FTP server -enable

Hi, I have turn off the FTP service and rebooted the server . (edit /etc/inetd.conf and /etc/inet/services) Now , how can I enable back the FTP without rebooting the server . Thanks (1 Reply)
Discussion started by: civic2005
1 Replies

9. Linux

ftp telnet enable

hi , i have jsut installed linux 9.0 , but i can not ftp or telnet to the system . i have installed the ftp and the telnet server during installation . i have also configured the files to enable the ftp and telnet , the ftp and the telnet daemons are running , but when i do ftp : ftp... (1 Reply)
Discussion started by: ppass
1 Replies

10. UNIX for Dummies Questions & Answers

Enable FTP on SCO

My goal is to use FTP to transfer file between PC and SCO Unix server.When I try to connect via FTP with root user, it failed. What should I do? How to configure ftpaccess? Thanks in advance! (2 Replies)
Discussion started by: Vladan
2 Replies
Login or Register to Ask a Question