This content has been marked as final. Show 3 replies
969362 wrote:The way it works in these forums is that you write the script and then paste is here.
How do I ...
(You will need to paste it inside of formatting code tags as is described in the forum site FAQ that you have already read when you joined.)
You then get assistance with that script.
No one does your work for you.
Sorry about that.
For the Question for checking whether Anonymous FTP is disabled , in a bash script, the closest i can get to it is only knowing to disable the ftp service, via svcadm disable ftp.
The ftp service is currently online, via svcs | grep ftp.
That is all i know.. I know that ftp is enabled but i do not know if Anonymous FTP is enabled.
#!/bin/bash svcs | grep ftp