https://github.com/ammerscm68/samba-server-tools
Easy Management of a simple Samba_Server on a Raspberry Pi
https://github.com/ammerscm68/samba-server-tools
dismount fstab interactive management manager mount nas network raspberry raspberry-pi raspberrypi samba samba-server simple simple-project tools unmount user-management
Last synced: about 2 months ago
JSON representation
Easy Management of a simple Samba_Server on a Raspberry Pi
- Host: GitHub
- URL: https://github.com/ammerscm68/samba-server-tools
- Owner: ammerscm68
- License: cc0-1.0
- Created: 2026-04-07T15:38:04.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-04-18T10:02:23.000Z (about 2 months ago)
- Last Synced: 2026-04-18T11:42:25.764Z (about 2 months ago)
- Topics: dismount, fstab, interactive, management, manager, mount, nas, network, raspberry, raspberry-pi, raspberrypi, samba, samba-server, simple, simple-project, tools, unmount, user-management
- Language: Shell
- Homepage:
- Size: 124 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Samba-Server Tools for easy Management a "Raspberry Pi" --- Simple NAS
The following commands can be executed:
1. smbusermanager (Interactive creation or deletion of a user for Linux and SAMBA)
2. smbconfig (Interactive configuration of the Samba-Server)
3. format /dev/sdb or sdb (sdb is an example)
4. samba-config (Displays the current contents of the "smb.conf" file)
5. getfstab (Displays the current contents of the fstab file)
6. setfstab /dev/sdb or sdb (sdb is an example)
7. smbmount /dev/sdb or sdb (sdb is an example)
8. smbdismount /dev/sdb or sdb (sdb is an example - only dismount partition 1)
9. smballpartdismount /dev/sdb or sdb (sdb is an example - dismounts all partitions)
10. smbcontrol start (allowed parameters start, stop, restart)
11. autoupdate -c | -d (Parameter [-c] = create autoupdate - [-d] = delete autoupdate
Many more simplified commands can be found in the aliases of the .bashrc file.
**************************************************************************************************************
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.