Dear All,
How to Enable/Disable ftp in solaris 10
Regards
Kuldeep
Dear All,
How to Enable/Disable ftp in solaris 10
Regards
Kuldeep
Are you using in.ftpd or 3rd party FTP server? In most cases you need to use inetadm command.
Get status of ftp service
Enable ftpCode:inetadm | grep ftp
Disable ftpCode:inetadm -e ftp
More infoCode:inetadm -d ftp
Code:man inetadm man svcadm
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...
![]()
Never send a boy to do a mans job.
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
I have used
"/usr/sbin/svcadm enable ftp"
"/usr/sbin/svcadm disable ftp"
To enable or disable ftp and it is working
There are currently 1 users browsing this thread. (0 members and 1 guests)