Unix Technical Forum

how to stop ftp server in solaris

This is a discussion on how to stop ftp server in solaris within the comp.unix.solaris forums, part of the Solaris Operating System category; --> hi buddies here i have some problem how to stop ftp server in solaris without using of kill command ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-12-2008, 05:01 AM
varmagsr@gmail.com
 
Posts: n/a
Default how to stop ftp server in solaris

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-12-2008, 05:01 AM
Alain
 
Posts: n/a
Default Re: how to stop ftp server in solaris

varmagsr@gmail.com a écrit :
> 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
>

Under S10:
svcs -a |grep -i ftp
svcadm disable output_from_above
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-12-2008, 05:01 AM
Thommy M.
 
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


As it's something under /usr/local it's nothing that is standard
Solaris. Look in the docs for the sftp you (or someone else) have installed.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-12-2008, 05: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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-12-2008, 05:01 AM
varmagsr@gmail.com
 
Posts: n/a
Default Re: how to stop ftp server in solaris

On Nov 1, 11:52 pm, "Mr. G D Geen" <g...@ti.com> wrote:
> varma...@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.
>





Hi to all
thanx for fast help

here the solution i got from frnd's

1)inetadm -e ftp for enableing the ftp server
2)inetadm -d ftp for disableing the ftp server
3)svcs /network/ftp to check the status


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:36 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com