Couple of quick questions.... please help me learn =)!

1) How do I mount drive #2 in a rackshack server as /backup? I think to mount it I type:

Code:
mkdir /backup

mount -t ext2 /dev/hdb1 /backup
but first, I need to know how to unmount it.


2) How do you disable telnet? I think you block port 23 to do it with APF firewall?

3) How do you disable anonymous FTP (with Cpanel)? I might use Ensim, so I could use an answer for that too if you could Couple of quick questions.... please help me learn =)!.

4) How do you block an IP range? I think you just go into .htaccess and type:

Code:
deny from 203.
to block 203.xxx.xxx.xxx, right? Will this also block them from being able to try to SSH in? If not, how do I do that with Iptables/etc.?



Thanks a lot for your help, everyone!

 

 

 

 

Top