cancel
Showing results for 
Search instead for 
Did you mean: 

disabling the services

gany59
Regular Advisor

disabling the services

how to disable the FTP and telnet service in the system for a specific user
6 REPLIES
Steven E. Protter
Exalted Contributor

Re: disabling the services

Shalom,

TCP wrappers, available at http://software.hp.com can let you disable these services by IP address.

If you are using the standard ftp server wu-ftpd you can control ftp access with the
/etc/ftpd configuration files.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
SoorajCleris
HPE Pro

Re: disabling the services

Hi ,

/etc/ftpusers

/var/adm/inetd.sec

regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Horia Chirculescu
Honored Contributor

Re: disabling the services

>/var/adm/inetd.sec

This will work only if ftp and telnet services are started from inetd. If those services were started as stand-alone servers, this will not work.

Best regards,
Horia.
Best regards from Romania,
Horia.
B. Hulst
Trusted Contributor

Re: disabling the services

The ftpusers file lists users for whom ftp login privileges are disallowed. Each ftpuser entry is a single line of the form:

name

where name is the user's login name.
singh sanjeev
Trusted Contributor

Re: disabling the services

hashed the entry in /etc/inetd.conf file step restart inetd service.
Sanjeev Singh
singh sanjeev
Trusted Contributor

Re: disabling the services

sorry you want to block specific user / then u have to edit the /etc/ftpd/ftpuse* file ..
Sanjeev Singh