PDA

View Full Version : After SLES 10.3 -> SLES 11.1 upgrade, I cannot login



jbabicka
19-Jan-2012, 22:26
I currently have a Virtual Machine that is running a SLES 10 SP3 Server.
After upgrading from this to SLES 11 SP1 (I selected the option to only
update the existing files that were installed), I find that I am not
able to login to the operating system as root or any system user. In
order for me to actually login, I had to run Rescue Mode and change the
passwords for root and the other system users using passwd before I was
able to login. I have never seen this happen before. After taking a
quick look through this forum, and using google, I have not really seen
anyone else mentioning having this issue.

So, I wanted to see if any other users may have encountered something
like this? If not, are the any useful suggestions of where I might be
able to look for clues as to what happened--other than /var/log/warn and
/var/log/messages?

Thanks for any help!


--
jbabicka
------------------------------------------------------------------------
jbabicka's Profile: http://forums.novell.com/member.php?userid=67944
View this thread: http://forums.novell.com/showthread.php?t=451103

Automatic Reply
24-Jan-2012, 19:55
jbabicka,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Product Support Forums Team
http://forums.novell.com/

regs995
25-Jan-2013, 20:01
I have this same issue. It is not a Virtual Machine. I upgraded from SLES 10 SP4 to SLES 11 SP1. I was able to boot to a rescue disk, chroot, and change passwords. However, this means all passwords will have to be changed. This is ok for a Sandbox system, but it will not work with a Production system.

Could it have something to do with the PAM modules, or the the hash in the shadow file?

Any help would be appreciated.

Thanks.

jmozdzen
29-Jan-2013, 17:14
Hi regs995,

there are other reports as well - lastest one I've been involve can be found here: https://forums.suse.com/showthread.php?2058-Migrating-SLES-LDAP-%28and-CYRUS%29-from-SLES-10-to-SLES-11&p=10364#post10364

While no resolution has been reported in that thread, maybe Mike ("endc01") is willing to provide feedback on how his case got solved?

Please also note that there's no direct migration path SLES10SP3 to SLES11 (http://www.novell.com/support/kb/doc.php?id=7010200) - probably some required change was introduced with SLES10SP4. As far as I recall the default encryption mechanism was "blowfish" with SLES10, but later (SP4?) changed to "md5" - do you still have access to the old /etc/default/passwd file to compare?

With regards,
Jens

olveld
28-Feb-2013, 09:38
we had a similar problem!

i solved this by removing the following line

/etc/pam.d/login
## commented this for SLES11SP1 out ( BUG because pam_resmgr.so doesn't exists )
#session required pam_resmgr.so

--
olli

regs995
09-Apr-2013, 16:31
Hi all.

After upgrading other servers, I discovered the problem went away after the updates were applied. The old passwords in the shadow file then worked.

Thanks for the responses.

jmozdzen
09-Apr-2013, 18:40
Hi regs995,

thank you for sharing that information!

Regards,
Jens