View Single Post

   
  #4 (permalink)  
Old 01-12-2008, 06:01 AM
Mr. G D Geen
 
Posts: n/a
Default Re: how to stop ftp server in solaris

varmagsr@gmail.com wrote:
> hi buddies
>
> here i have some problem
> how to stop ftp server in solaris without using of kill command
>
> in my system sftp server path shows as usr/local/libexec/sftp-server.
> there stop command not works
>
>
> In linux /etc/init.d/vsftpd stop command i am using
>
> if any one know plz help
>


For Solaris 10 use:
# svcadm disable /network/ftp

I also did
# svcadm disable /network/telnet

For Solaris 9 and older edit the /etc/inetd.conf
Look for the line:
ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd

and then comment it out. You will need to issue a kill -HUP to the
inetd process to force a re-read of the configuration file.

-G
Reply With Quote