Pages

Monday, June 13, 2011

File sharing

Q1. Share /tmp as rw on your network using NFS.



Q2. Share /tmp as linux_share using samba share. User smith(belonging to your network) should be able to read and write on the directory.

Networking iptables

Q1. Configure POP3 server such that user from your network can download mails from the server. 192.168.5.0/24 network should not be able to download mails from the server.

Q2. Provide SSL encapsulated imap access. Imap service should be available to your network only. Reject all other networks.

Networking TCP wrapper

Q1. Configure ssh such that it can be accessed by your network but not by 192.168.1.0/24 network.

Q2. Configure ftp on your machine such that clients on your network has anonymous ftp access. Deny all other network.

Partitions

Q1. Create a Raid 0 partition of 100MB size.

Q2. Create a logical volume of 500MB.

Q3. Change the size of the logical volume to 500MB.