Jul 31, 2008 #1 100mbs MIS Feb 14, 2002 142 US I dont want users to be able to use standard ftp over port 21 instead i want them to have to use SFTP on port 22. I am running Solaris 10. Any Ideas?
I dont want users to be able to use standard ftp over port 21 instead i want them to have to use SFTP on port 22. I am running Solaris 10. Any Ideas?
Jul 31, 2008 1 #2 djr111 Technical User Aug 5, 2006 357 US svcs -a ftp STATE STIME FMRI disabled 11:03:45 svc:/network/ftp:default to disable: # svcadm disable svc:/network/ftp:default or # svcadm disable ftp i am assuming sftp is already active, if you have sshd running, than I believe sftp is enabled. Upvote 0 Downvote
svcs -a ftp STATE STIME FMRI disabled 11:03:45 svc:/network/ftp:default to disable: # svcadm disable svc:/network/ftp:default or # svcadm disable ftp i am assuming sftp is already active, if you have sshd running, than I believe sftp is enabled.
Jul 31, 2008 Thread starter #3 100mbs MIS Feb 14, 2002 142 US By Doing this procedure, does it disable it for good? Is there something i need to disable in the /etc/rc*.d from starting up during the next boot? Upvote 0 Downvote
By Doing this procedure, does it disable it for good? Is there something i need to disable in the /etc/rc*.d from starting up during the next boot?
Jul 31, 2008 #4 djr111 Technical User Aug 5, 2006 357 US using the rc*.d is called 'legacy scripts' in Solaris 10. a large portion of those have been converted to SMF. If you do a svcs -a, you will get a listing of what services are controlled by SMF, and it will list the legacy scripts at the top. The main commands to administer SMF are: svcs and svcadm To answer your question, if you disable a service, it will stay disabled across reboots, same goes for enabling, it will stay enabled. David Upvote 0 Downvote
using the rc*.d is called 'legacy scripts' in Solaris 10. a large portion of those have been converted to SMF. If you do a svcs -a, you will get a listing of what services are controlled by SMF, and it will list the legacy scripts at the top. The main commands to administer SMF are: svcs and svcadm To answer your question, if you disable a service, it will stay disabled across reboots, same goes for enabling, it will stay enabled. David
Jul 31, 2008 Thread starter #5 100mbs MIS Feb 14, 2002 142 US Thanks for your Help David I appreciate it. CHuck.. Upvote 0 Downvote