Koozali.org: home of the SME Server

Modifying server-manager

Ray Mitchell

Re: Modifying server-manager
« Reply #15 on: November 04, 2002, 02:45:10 AM »
Jim
I installed user-manager for the same reasons you have (although I did not have a need to alter the opening screen appearance).

The user-manager has a series of tick boxes that enable or disable each panel for each user. You can set up global defaults so all users have access to a standard set of panels by default or all users could have access to no panels depending what you want. Other than installing the rpms there is no command line intervention required. Very easy to setup.

You could add a new "power" user to the system and use that as a second lower level "admin" account or you could just let the power users log on with their own name and password, having previously set the access rights to panels for that user in server-manager.

See my earlier posts, I think user-manager may better suit your needs, it is the same as server manager if full access is given and depending how you set it up can give limited access to panels for users or lower level admin users.

Regards
Ray Mitchell

Jim Huneycutt

Re: Modifying server-manager
« Reply #16 on: November 04, 2002, 03:20:42 AM »
Hi Brian,
What you said makes sense but checking in etc/e-smith/web/panels/manager/html I find the following three files: index.cgi, index.html and initial.cgi. There is no initial.html. Nor could I have deleted it since until now I had never navigated to that folder.

Interestingly, checking on another e-Smith server that is working properly and one in which I have not run the servermanager-navigation-custom.sh, the same folder only contains index.cgi and inititial.cgi - no index.html and no initial.html. As far as I know, these two systems are pretty much identical 5.5 servers except for running the servermanager routine. I cannot explain the missing initial.html nor the lack of an index.html on the properly functioning system. These are areas of e-Smith I have not yet explored.  Does the server-navigation add-on create the index.html file?

A reboot of the afflicted server did not fix it - I still get the not found message with server-manager. After a bit of tinkering by trying to create an initial.html file I now get a duplicate of the panels frame.

By removing the index.html file I get the orginal starting screen, but now above the security/password panel there is listed an "Unknown" panel with an "Unknown" selection that, when selected, runs another instance of the server-navigation frame.

Next I re-installed the server-manager navigation rpm and noted that the index.html file that I had deleted was re-created. Does this make sense or did e-Smith re-create the file on its own from some other process?

I am considering a complete e-Smith re-install to see if I can get things back the way they were on this server --- but that is a real pain and my time has about run out to deliver this server. I have about one more day to tinker with this.

By any chance has anyone deciphered the sequence of events and purposes of the various cgi and html files used to bring up server-manager? Has anyone had similar problems with the server-manager navigation rpm on 5.5? The installation steps seem simple enough and I believe I followed them precisely so I am amazed I can't get it to work properly.

I appreciate your help,
jim

Ray Mitchell

Re: Modifying server-manager
« Reply #17 on: November 04, 2002, 03:53:48 AM »
Jim
I'm no expert either, but you could uninstall the rpm
rpm -e dmc-mitel-servermanager-navigation
(assuming that is the one you installed).
Then see if your system reverts to it's original state and server-manager works OK.

If not working OK, you might try running the sme v5.5 (or whichever version you have) instal again, but over the top of the existing instal.

When you get your standard server-manager working properly, then attempt doing modifications.
As mentioned previously I do think the user-manager rpms from dungog are what you are really after.

Also see my email sent directly to you.

Regards
Ray Mitchell

Jim Huneycutt

Re: Modifying server-manager
« Reply #18 on: November 04, 2002, 03:59:41 AM »
Ray, you win the prize! I successfully uninstalled the navigation rpm and installed the user panel, and configured it in under 15 minutes. I've created a "usermanager" account that can manage the other user accounts, but without the admin functions that will create a lot of problems if misused. I'll worry about the tech support screen later.

Sincere thanks,
jim

Brian Kirk

Re: Modifying server-manager
« Reply #19 on: November 04, 2002, 04:02:20 AM »
Hi - I have just checked and that subdir on my 5.1.2 has html files there. Sorry, I guess 5.5 is using cgi files to create the html on bootup or maybe pointing to a different place for the html. I agree with Ray - try uninstalling the rpm and reboot. If no luck I guess bite the bullet and reinstall e-smith. I will install 5.5 on a machine and have a look at how it is creating the webpage but it wont be for a few days.
Regards
Brian

Ray Mitchell

Re: Modifying server-manager
« Reply #20 on: November 04, 2002, 04:34:11 AM »
Jim
So I will look forward to the prize of a nice DVD burner in the mail. Ha ha ha !!

Good that you got it sorted out

Seriously though you might like to have another test server available where you can test changes etc before deploying them.

Regards
Ray