Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
	New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
	Removing "Storage" Share
Removing "Storage" Share
How can I remove the share "Storage" - I only want the "home" share to be visible, how do I remove shares?
			
			
									
						
										
						Re: Removing "Storage" Share
edit /etc/samba/smb.conf and disable the storage section by placing a # in front of each line. make a backup of the file first. A nice trick for this is:
you can easily make this into a backup script too, if you replace the 'a' variable with %1
			
			
									
						
										
						Code: Select all
a=/etc/samba/smb.conf; cp $a $a_$(date +%Y%m%0e_%k%M);unset aRe: Removing "Storage" Share
Thanks Ubi, 
What am I actually doing with that command? Copying the original smb.conf file and putting it where? Or am I renaming it with the current date/time?
			
			
									
						
										
						What am I actually doing with that command? Copying the original smb.conf file and putting it where? Or am I renaming it with the current date/time?
Re: Removing "Storage" Share
you are copying it to a file with the same name and the data attached to it. try it on a file in /tmp you made yourself