Hi All,
I'm new to SME and linux and general but I need help please. Correct me if I'm wrong but it seems that when you remove a user's access rights from a group that has access on an Ibay that it takes some time before the blocking of access to that Ibay occurs - i'm assuming that the samba service restarts automatically after some time? What I need is to be able to have a link in the server manager e.g. "restart samba service" that I can click that simply issues the console command "service smb restart".
I've been battling the whole day using the SME developer guide and I've managed to create a script... i think...maybe not even (I'm not even sure what to use i.e. sh or bash etc. I'm really new to linux) and I've also managed to get a link into the server manager from reading the dev guide but it does not work.

The script is in /etc/e-smith/web/functions and I then created symbolic link to it in /etc/e-smith/web/panels/manager/cgi-bin
The script is called restart-samba and merely says: service smb restart (but I didnt know quite how to create it being #!/bin/sh or #!/bin/bash etc. etc.) It works when run from command line.
After doing this I did chown root:admin restart-samba and then chmod 4750 restart-samba
Then I issued the command: /etc/e-smith/events/actions/navigation-conf
The link to it pops up in server manager but the error I receive when clicking it is: Internal Server Error, the server encountered and internal error or misconfiguration and was unable to complete your request.
The nature of our business requires me to be able to cut off a user's access to sensitive info immediately which is why I really need this. Can anyone please help me, I'm sure this must be way more compllicated than what I thought.
Best regards
Danie