Sponsored Content
Operating Systems Solaris PAM login library files corrupted, have ILOM, can I get root? Post 302370884 by Mariognarly on Thursday 12th of November 2009 06:15:04 PM
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?
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
PAM_LOGIN_ACCESS(8)					    BSD System Manager's Manual 				       PAM_LOGIN_ACCESS(8)

NAME
pam_login_access -- login.access PAM module SYNOPSIS
[service-name] module-type control-flag pam_login_access [options] DESCRIPTION
The login.access service module for PAM, pam_login_access provides functionality for only one PAM category: account management. In terms of the module-type parameter, this is the ``account'' feature. Login.access Account Management Module The login.access account management component (pam_sm_acct_mgmt()), returns success if and only the user is allowed to log in on the speci- fied tty (in the case of a local login) or from the specified remote host (in the case of a remote login), according to the restrictions listed in login.access(5). SEE ALSO
login.access(5), pam.conf(5), pam(8) AUTHORS
The login.access(5) access control scheme was designed and implemented by Wietse Venema. The pam_login_access module and this manual page were developed for the FreeBSD Project by ThinkSec AS and NAI Labs, the Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (``CBOSS''), as part of the DARPA CHATS research program. BSD
January 24, 2002 BSD
All times are GMT -4. The time now is 05:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy