PAM login library files corrupted, have ILOM, can I get root?


 
Thread Tools Search this Thread
Operating Systems Solaris PAM login library files corrupted, have ILOM, can I get root?
# 1  
Old 11-12-2009
PAM login library files corrupted, have ILOM, can I get root?

I was installing sfw sudo and its dependencies (libiconv, libintl, libgcc)on Solaris 10, running on an x86 x4200 and I corrupted some PAM library files. It's a standard Solaris 10 base install, with some added software & libraries from a vendor.

I am on console trying to get root access back, and receiving this error:

myserver console login: root
Nov 12 15:56:32 myserver login: open_module: /usr/lib/security/pam_login_auth.so failed: ld.so.1: login: fatal: /lib/libgcc_s.so.1: wrong ELF data format: ELFDATA2MSB
Nov 12 15:56:32 myserver login: load_modules: can not open module /usr/lib/security/pam_login_auth.so

The server is configured with LDAP, then local accounts to login. Can't get in with any account via SSH or console. I know the passwords, don't need to do any recovery. It just looks like I've borked the PAM module so badly that it won't allow any user to logon.

I have access to ILOM, is there anything I can try from ILOM to, either get a root prompt, or edit files? I doubt it hey. Would single user mode login prompt not use the same process?

I'm thinking I may have to re-image the host. Any thoughts?
# 2  
Old 11-13-2009
Nope. you need to boot from dvd/cdrom and revert the pam.conf.
This User Gave Thanks to incredible For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Big problem: shell entry in /etc/passwd corrupted for user root

did a big mistake, changing root entry of /etc/passwd to root:x:0:0:root:/root:/usr/bin/tmux split-window -v \; attach as expected, now I can't login as root anymore. sudo ed /etc/passwd etc. doesn't work. Any idea? Use code tags to increase readability and follow the rules. (4 Replies)
Discussion started by: dodona
4 Replies

2. SuSE

PAM password change failed, pam error 20

Hi, I use a software which can create account on many system or application. One of resource which is managed by this soft his a server SUSE Linux Enterprise Server 10 (x86_64). patch level 3. This application which is an IBM application use ssh to launch command to create account in... (3 Replies)
Discussion started by: scabarrus
3 Replies

3. Hardware

Sun X4270 ILOM Login issue

Hi I have a new SUN X4270 server. I am trying to login to the server's ILOM using it's serial management port from a Windows machine but am not getting any login prompt from the server. I am using a RJ-45/DB-9 adaptor. After connecting the adaptor, I am opening the serial connection using... (3 Replies)
Discussion started by: mystition
3 Replies

4. UNIX for Advanced & Expert Users

PAM Login denied

Hi All, While I was trying to login to the console of my machine I got the following error messages :: body { margin: 0 0 0 0; padding:0 0 0 0 }td,div { font-family:Tahoma;font-size:8pt;vertical-align:top }/* Copyright IBM Corp. 2011 All Rights Reserved. */body { margin:... (2 Replies)
Discussion started by: Pkumar Sachin
2 Replies

5. Solaris

ILOM Sunservice login incorrect

We have tried to perform the data collection of 11 SUN FIRE X4170 SERVER as part of preventive maintenance activity. But, when we tried to access the ILOM using sunservice user we got a “login incorrect” prompt. We used the “changeme” password. can we use the root/changeme account instead... (4 Replies)
Discussion started by: chozie
4 Replies

6. Emergency UNIX and Linux Support

PAM? cannot login, ssh or su

look at this, as root user change passwd and su -: I cannot ssh in or rlogin either, (3 Replies)
Discussion started by: bigearsbilly
3 Replies

7. Solaris

root mail file corrupted

Hi, We were facing cron job failures and raised a case to our UNIX team, they fixed the issue and said cron job failures due to root mail file corruption. My questions are, 1. Whether root mail file corruption cause cron job failures? 2. Do we have any size limitation for root mail file?... (0 Replies)
Discussion started by: paventhan
0 Replies

8. Red Hat

Root shell in /etc/passwd is corrupted

I accidentally changed root shell from /bin/bash to bash in /etc/password, then logged out from root. Now I can't login as root and got "No shell" error, although I have root password. "su -f -s /bin/bash" command does NOT work. There is no GUI interface for this system. My question: Do I have... (7 Replies)
Discussion started by: aixlover
7 Replies

9. AIX

Can't login root account due to can't find root shell

Hi, yesterday, I changed root's shell in /etc/passwd, cause a mistake then I can not log in root account (can't find correct shell). I attempted to log in single-mode, however, it prompted for single-mode's password then I type root's password but still can not log in. I'm using AIX 5L version 5.2... (2 Replies)
Discussion started by: neikel
2 Replies

10. Answers to Frequently Asked Questions

Lost root password / Can't login as root

We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
Discussion started by: Perderabo
0 Replies
Login or Register to Ask a Question