Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

I cannot login to the Parallels Power Panel – The message “Invalid username or password, please try again.” appears.

Article ID: 6803 
Last Review: Oct,23 2009
Author: Kolomoets Alexey
Last updated by: Kolomoets Alexey APPLIES TO:
  • Parallels Virtuozzo Containers Tools

Symptoms

After creating a Container using Ubuntu 8.10 or higher EZ OS template, it is not possible to log into Parallels Power Panel of the Container, and the following error message is shown:

"Invalid username or password, please try again."

However it is possible to log into the Container via SSH.

Cause

The default policy in Ubuntu 8.10 seems to be forced to use SHA512 hashing. For example, in Debian 5.0 (and previous versions of Debian, Ubuntu) it was set to MD5:
# grep '^[^#]' /etc/pam.d/common-password
password required pam_unix.so nullok obscure min=4 max=8 md5

Resolution

It is sufficient to update the file /etc/pam.d/common-password and reset the 'root' password inside a Container (example for Container #101):
# vzctl enter 101
# sed '/^password.*pam_unix.so.*sha512/ s~sha512~md5~' -i etc/pam.d/common-password

After that this file /etc/pam.d/common-password will contain these lines:
# grep '^[^#]' /etc/pam.d/common-password
password [success=1 default=ignore] pam_unix.so obscure md5
password requisite pam_deny.so
password required pam_permit.so

and remember to reset 'root' password:
# passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully


It is necessary to perform this modification for every created container. In order to automate this fix, it should be possible to update "post-install" script of the affected OS template, e.g. add to the file "/vz/template/ubuntu/8.10/x86/config/os/default/post-install" the following line:

sed '/^password.*pam_unix.so.*sha512/ s~sha512~md5~' -i etc/pam.d/common-password

And then rebuild the cache of the OS template:
# vzpkg remove cache ubuntu-8.10-x86
# vzpkg create cache ubuntu-8.10-x86
 


Subscription for changes to this article Subscription for changes to this article

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac
- Parallels Desktop 4 for Windows & Linux
- Parallels Workstation Extreme
- Parallels Solution for Windows 7
Server Virtualization
- Parallels Server for Mac
- Parallels Server 4 Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
More Products