The following commands can be executed:
- smbusermanager (Interactive creation or deletion of a user for Linux and SAMBA)
- smbconfig (Interactive configuration of the Samba-Server)
- format /dev/sdb or sdb (sdb is an example)
- samba-config (Displays the current contents of the "smb.conf" file)
- getfstab (Displays the current contents of the fstab file)
- setfstab /dev/sdb or sdb (sdb is an example)
- smbmount /dev/sdb or sdb (sdb is an example)
- smbdismount /dev/sdb or sdb (sdb is an example - only dismount partition 1)
- smballpartdismount /dev/sdb or sdb (sdb is an example - dismounts all partitions)
- smbcontrol start (allowed parameters start, stop, restart)
- autoupdate -c | -d (Parameter [-c] = create autoupdate - [-d] = delete autoupdate
- smbsetstaticip (interactively switch to a static IP address)
- webmininstall (interactive Installation of the graphical user Interface "Webmin")
Many more simplified commands can be found in the aliases of the .bashrc file.
**************************************************************************************************************
Version 2.5 - interactive Installation of the graphical user Interface "Webmin"
**************************************************************************************************************
Version 2.4 - Upon request, it is now possible to interactively switch to a static IP address.
**************************************************************************************************************
Version 2.3 - A new feature has been added, named: "autoupdate" - Automatic Update Raspberry PI OS.
**************************************************************************************************************
Version 2.2 - Interactive User Manager - add a new Menu entry. SAMBA installation now interactive
**************************************************************************************************************
Version 2.1 - Interactive User Manager added.
**************************************************************************************************************
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Version 2.0 has been completely redesigned. Samba server configuration is <<< now entirely interactive >>>.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
**************************************************************************************************************
Version 1.1 included some improvements to the logic and a bug fix.
On Version 1.1 allows the management of a maximum of 3 shares.
**************************************************************************************************************
Simply copy the aliases and functions into the [.bashrc] file of the mainuser, restart the
Raspberry Pi, and you'll have a simple NAS-Server.
The tools will of course need to be customized for the main user.
In my case, I simply named the user "samba".
You can then create multiple users who, for example, are only allowed
to connect to a single share but are not allowed to log in via SSH or
directly to the Raspberry Pi.