Koozali.org: home of the SME Server

Problem accessing console and server-manager

Offline cfmunster

  • *
  • 13
  • +0/-0
    • http://www.funkymojo.com
Problem accessing console and server-manager
« on: October 07, 2007, 11:53:50 PM »
I installed svn and trac, now I have some issues. My user account can't login on the console. It doesn't say auth failed, it looks like it does the login, then sends me back to the login prompt. root user can login at the console.

Via the web UI, I can access the login page of /server-manager, but when I login using my user account, I get a browser authentication dialog and can't get past it using my login or the root login, and I get a 401 Authorization Required error.

It looks to me like when I installed trac or svn, something changed user permissions - maybe the addition of the new panels in the admin are not properly set for access permissions? I don't really know, SME isn't exactly my core skillset.

How can I reset the permissions on /server-manager? BTW, in httpd.conf, it looks like I have local LAN access enabled and all else set to deny. I am on the local LAN but still can't access.
----
Robert Munn

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Problem accessing console and server-manager
« Reply #1 on: October 08, 2007, 01:03:06 AM »
cfmunster

Quote
... My user account can't login on the console.

Shell access for users is not configured correctly.


Quote
..Via the web UI, I can access the login page of /server-manager, but when I login using my user account, I get a browser authentication dialog and can't get past it using my login or the root login, and I get a 401 Authorization Required error.

Server manager only allows admin login.
...

Offline cfmunster

  • *
  • 13
  • +0/-0
    • http://www.funkymojo.com
Re: Problem accessing console and server-manager
« Reply #2 on: October 08, 2007, 01:30:24 AM »
Thanks for getting back to me, Ray. My user account has admin access. Maybe it changed? I don't know. How can I add a user to the admin group via the command line? Is it something like:

db accounts setprop <user> Gid admin

On the server-manager issue, I went into /etc/httpd/admin-conf/httpd.conf and commented out all of the AuthType, TKTAuthLoginURL, and require commands for the various Directory entries, then I restarted the admin server. Now I can get to the server-manager homepage, but the navigation panel on the left side of the screen does not appear.
----
Robert Munn

Offline cfmunster

  • *
  • 13
  • +0/-0
    • http://www.funkymojo.com
Re: Problem accessing console and server-manager
« Reply #3 on: October 08, 2007, 02:05:46 AM »
ok, so setting the group to admin is like this, right:

db accounts setprop <user> Group Admin

I did that, no change in my access. I did this:

db config setprop httpd-admin access public
signal-event remoteaccess-update

That reset my manual commented out auth stuff and put me back to where I was before.

All I want to do is access /server-manager. I can access everything else on my server, just not /server-manager.
----
Robert Munn

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Problem accessing console and server-manager
« Reply #4 on: October 08, 2007, 03:19:17 AM »
cfmunster

You can only login to server manager as the user admin.

If you want end users to administer the server via GUI, then install user manager from dungog.
You will need to configure access rights on a per user basis, which is initially done in server manager.

...

Offline cfmunster

  • *
  • 13
  • +0/-0
    • http://www.funkymojo.com
Re: Problem accessing console and server-manager
« Reply #5 on: October 08, 2007, 07:17:45 AM »
Doh! Now I feel extra silly. Thanks for pointing that out, I forgot all about it. I rarely even touch my sme server.

And amazingly enough, everything works with the admin user. Whee!

Looks like about time for me to make another donation to the project.
----
Robert Munn