nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Enable/Disable ftp in solaris 10

This is a discussion on Enable/Disable ftp in solaris 10 within the Solaris/OpenSolaris forums, part of the UNIX operating systems category; Dear All, How to Enable/Disable ftp in solaris 10 Regards Kuldeep...


Go Back   nixCraft Linux Forum > UNIX operating systems > Solaris/OpenSolaris

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 05:34 PM
Junior Member
User
 
Join Date: Feb 2008
My distro: Debian
Posts: 3
Rep Power: 0
KuldeepSM is on a distinguished road
Default Enable/Disable ftp in solaris 10

Dear All,

How to Enable/Disable ftp in solaris 10

Regards
Kuldeep
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-27-2008, 08:43 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 557
Rep Power: 6
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

Are you using in.ftpd or 3rd party FTP server? In most cases you need to use inetadm command.

Get status of ftp service
Code:
inetadm | grep ftp
Enable ftp
Code:
inetadm -e ftp
Disable ftp
Code:
inetadm -d ftp
More info
Code:
man inetadm
man svcadm
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #3 (permalink)  
Old 02-28-2008, 02:31 PM
Junior Member
User
 
Join Date: Feb 2008
My distro: Debian
Posts: 3
Rep Power: 0
KuldeepSM is on a distinguished road
Default Enable/Disable ftp in solaris 10

ftp that I am using is in.ftpd

I have tried

Code:
---------
inetadm | grep ftp
---------
Enable ftp
Code:
---------
inetadm -e ftp
---------
Disable ftp
Code:
---------
inetadm -d ftp
---------
After enabling or disabling using the inetadm command, The command inetadm | grep ftp is showing the proper output but when I try to connect to the machine from other machine it gives

> ftp: connect :Unknown error number

From the same machine using ftp 0.0.0.0
it has given
ftp: connect: Connection refused
Reply With Quote
  #4 (permalink)  
Old 03-04-2008, 02:43 PM
Junior Member
User
 
Join Date: Feb 2008
My distro: Debian
Posts: 3
Rep Power: 0
KuldeepSM is on a distinguished road
Default Enable/Disable FTP

I have used
"/usr/sbin/svcadm enable ftp"
"/usr/sbin/svcadm disable ftp"
To enable or disable ftp and it is working
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
disable sftp users raudisir Networking, Firewalls and Security 3 05-13-2008 05:06 PM
Redhat linux 4 / 5 disable iptables firewall chiku Networking, Firewalls and Security 0 04-27-2007 05:19 PM
Enable or disable services in Debian Linux raj Linux software 1 01-25-2007 03:00 AM
Linux disable network interface jerry Linux software 2 06-22-2006 08:27 PM
Solaris newbie: How to install IOzone in Solaris warren Solaris/OpenSolaris 11 03-28-2006 05:45 PM


All times are GMT +5.5. The time now is 05:37 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36