Changes

Jump to: navigation, search

OPS335: File Servers

23 bytes added, 09:08, 2 March 2016
no edit summary
printable = no
create mask = 0765
<ol><li value="3">Now add a parameter to the global section that will limit access to the share so that only machines in your virtual network and those in the lab room will be able to access it by adding in the following lines:</li></ul> x<ol><livalue="4">Add a parameter to the home section so that only your user account can access that share.</li><li>Create a Samba password for user <learnid> with the command:<br>'''smbpasswd -a <learnid>'''</li><li>If you need to, you can change a user's password by using the command:<br>'''smbpasswd <username>'''</li><li>Confirm the user you created has been added using the following command:<br>'''pdbedit -L -v'''</li></li>Test and review your configuration with the command:<br>'''testparm'''</li><li>You can now start your Samba server (smb.service) and ensure it will start at boot.</li><li>Modify the firewall on VM2 to allow samba traffic.</li><li>Test if you have a connection with the command:<br>'''smbclient -U <learnid> -L vm2''' (It will show you a list of all available shares.)</li></ol>
13,420
edits

Navigation menu