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