I googled a bit that said there were an a file called overall_share to configure samba. But I couldn’t find any.
Here’s the files under /etc/samba:
root@FuseSpring samba # ls -la
drwxr-xr-x 3 root root 1024 May 19 22:53 .
drwxr-xr-x 23 root root 2048 May 21 02:30 ..
-rw------- 1 root root 3342336 May 19 22:53 secrets.tdb
-rw-r--r-- 1 root root 1449 May 21 06:20 smb.conf
-rw------- 1 root root 316 Dec 31 1969 smbpasswd
drwxr-xr-x 2 root root 1024 Dec 10 22:56 var
I tried to modify the smb.conf but I couldn’t find a way to restart the services since I couldn’t find smbd nmbd under /etc/init.d
Here’s the files under /etc/init.d:
root@FuseSpring samba # ls -la /etc/init.d
drwxr-xr-x 2 root root 1024 Nov 10 2014 .
drwxr-xr-x 23 root root 2048 May 21 02:30 ..
-rwxr-xr-x 1 root root 777 Nov 10 2014 commgrd
-rwxr-xr-x 1 root root 2674 Nov 10 2014 wdmcserverd
-rwxr-xr-x 1 root root 2086 Nov 10 2014 wdnotifierd
-rwxr-xr-x 1 root root 1865 Nov 10 2014 wdphotodbmergerd
After reboot, the smb.conf seemed to reset back to its original state.
This is so frustrating since it doesn’t look like a typical linux dist.
-
How do i turn on/off services (especially samba)?
-
How do properly edit the config files without it reseting to its original status after reboot?
Regards.