Raspberry Pi 2 Server Essentials by Piotr J. Kula

Raspberry Pi 2 Server Essentials by Piotr J. Kula

Author:Piotr J. Kula
Language: eng
Format: epub
Publisher: Packt Publishing


You can then navigate to /etc/samba and edit the smb.conf file. On a private network for personal use, you may skip any step that requires the use of passwords to mount network shares. In an exposed or production environment, always use authentication.

If you do not like to put security on internal network shares, then this is perfectly safe. Since these files cannot be accessed from the Internet, you may just want to browse your network freely and copy or move files around without the extra pain of entering passwords.

By default, Samba is set for anonymous (unauthenticated) access. To change this, scroll down and uncomment the security = user line by removing the preceding #. This will tell Samba to authenticate against the users that you have created.

We will quickly create a user for the purpose of demonstration as there is an extra step required to add the user to the Samba authentication list. The following command-line snippet is an example of creating a system user to access Samba:

sudo useradd bond007 –m –G users sudo passwd bond007 sudo smbpasswd –a bond007



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.