11 Replies Latest reply on Jul 15, 2008 6:55 PM by captmiddy

    WebUI still only allows root?

    captmiddy Enthusiast

      It appears that the WebUI still only permits the first user in the authorization.xml file to login.  While we can set up additional users in the permissions tab but it doesn't allow these other users to log in, even after a reboot.  Is this expected? I didn't see it in the known issues list, but I may have missed it.

        • 1. Re: WebUI still only allows root?
          sej7278 Enthusiast

          i found you have to login first as root, then create new users via the webui (not fudging the xml file) and then logins work instantly, you don't have to reboot, restart the service etc; just logout as root, and login as user.

          • 2. Re: WebUI still only allows root?
            aproka Novice

             

            I can confirm, permission creation from webui and login with a user granted with privileges are working fine at linux 64bit tarball.

             

             

             

             

             

            Aron

             

             

            • 3. Re: WebUI still only allows root?
              captmiddy Enthusiast

              Interesting, because I created the users for login via the WebUI and these do not work.  I am running Ubuntu 7.04 AMD64 and other than this feature everything else is working fine.  I guess I could pull a default file from another server and deploy it again and then try adding users after a management restart.

              • 4. Re: WebUI still only allows root?
                captmiddy Enthusiast

                 

                So I started building out additional Server 2.0 systems and found that on RedHat 4 and 5 systems, I can provision additional users to the GUI, but on Ubuntu 7.04, 7.10 and 8.04 I can not provision additional users to the GUI.  I haven't figured out why this appears to be the case. 

                 

                 

                Does anyone have any ideas as to what I could look at to figure out why additional users can not be provisioned on Ubuntu?

                 

                 

                 

                 

                 

                 

                 

                 

                • 5. Re: WebUI still only allows root?
                  captmiddy Enthusiast

                   

                  Okay 5 minutes after posting this I was comparing the two authorization.xml files and found the problem.

                   

                   

                   

                   

                   

                  On RedHat:

                   

                   

                   

                  <ConfigRoot>

                  .....

                  <ACEData id="11">

                  <ACEDataEntity>ha-folder-root</ACEDataEntity>

                  <ACEDataId>11</ACEDataId>

                  <ACEDataIsGroup>false</ACEDataIsGroup>

                  <ACEDataPropagate>true</ACEDataPropagate>

                  <ACEDataRoleId>-1</ACEDataRoleId>

                  <ACEDataUser>vmuser</ACEDataUser>

                  </ACEData>

                  <NextAceId>12</NextAceId>

                  </ConfigRoot>

                   

                   

                   

                   

                   

                   

                   

                  On Ubuntu

                   

                   

                   

                   

                   

                  <ConfigRoot>

                  .....

                  <ACEData id="11">

                  <ACEDataEntity>ha-folder-root</ACEDataEntity>

                  <ACEDataId>11</ACEDataId>

                  <ACEDataIsGroup>true</ACEDataIsGroup>

                  <ACEDataPropagate>true</ACEDataPropagate>

                  <ACEDataRoleId>-1</ACEDataRoleId>

                  <ACEDataUser>vmuser</ACEDataUser>

                  </ACEData>

                  <NextAceId>12</NextAceId>

                  </ConfigRoot>

                   

                   

                   

                   

                   

                   

                  The failure is in the fact that for some reason when Ubuntu creates the additional user, it designates the user as a group rather than a user.  By hand modifying the ACEDataIsGroup from true to false, I am now able to log in as additional users.  Not sure how I should report this or if I should because not sure Ubuntu is intended to be a supported server environment for VMware server. 

                   

                   

                   

                   

                   

                   

                   

                   

                   

                   

                   

                   

                   

                   

                  • 6. Re: WebUI still only allows root?
                    captmiddy Enthusiast

                    Okay, oddly enough, if you restart the server, it rewrites the XML file back to turning people into groups rather than users.  So I have to modify the XML file again.  So while I can fix this one each time, I can't just have it work.

                    • 7. Re: WebUI still only allows root?
                      vmwdavidr Novice

                       

                      I am running Ubuntu 8.04 also (i386) and had this problem.

                       

                       

                      I had to add a password to root and log on once as root and setup my regular userid.

                       

                       

                      I had to hand edit authorization.xml to change group to false - but this did not work.  I thought that perhaps the user being the same as the group was a problem.

                       

                       

                      What did finally work for me was to make a new group mygroup.  Make my user's primary group the new group.  Then fixed authorization.xml one more time and then I could log in as my regular user.

                       

                       

                      This was kind of a pain, but the product is so useful.

                       

                       

                      • 8. Re: WebUI still only allows root?
                        captmiddy Enthusiast

                        Here is the process I went through. 

                         

                         

                         

                         

                         

                         

                        Build the VMware server, start it up, and log in as root.  Change the permissions as I wanted them.  Stop all vmware processes (this requires killing some processes because the tomcat server doesn't seem to go down like it should), and then modify authorization.xml to change the lines that say TRUE next to group to say FALSE.  Now start vmware server back up and things will work fine.  What I did that caused the new problem before was that I didn't take down the server but modified the file.  This worked for that session but as soon as the server went down the file got overwritten to say they were groups and it stopped working.

                        • 9. Re: WebUI still only allows root?
                          Expert

                          Is this still an issue for folks with RC1?

                          • 10. Re: WebUI still only allows root?
                            vmwdavidr Novice

                            I'll give it a try this weekend and post.

                            • 11. Re: WebUI still only allows root?
                              captmiddy Enthusiast

                               

                              No this issue went away with RC1.  I am able to add users or groups appropriately now.  The issue appears that because Ubuntu, like many Linux environments, created a group with the same name as the user that vmware was only showing the group.  Now the group and the user are both shown, so I can properly pick the individual.  Although both should have been legit before at least now it works.  I haven't tried adding a group yet but that hasn't been important for me and since I only have a few users on each server having a group is a tad bit overkill.