I am using solaris 10.
How do I check if all passwords are shadowed, using a shell script, in bash in terminal? Also, if they are all shadowed, it needs to print "Exception: No", if not all are shadowed, it needs to print "Exception: Yes".
How do i check if anonymous ftp is not allowed, also using a shell script, in bash in terminal? if they are not allowed, print "exception: no", if they are allowed, print "exception:yes"?
The way it works in these forums is that you write the script and then paste is here.
(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.
svcs | grep ftp
That is all i know.. I know that ftp is enabled but i do not know if Anonymous FTP is enabled.