SUMMARY: Single User Mode login to SunfireV120 with Solaris 8 fails

From: Fergus McMenemie <fergus_at_twig.demon.co.uk>
Date: Thu Feb 12 2004 - 17:28:40 EST
Hello again,


Thanks for the replies, though none of them close to solving the problem.
My problem boiled down to multiuser login working fine yet in single user
mode I could not login at all. Doing truss on login I stumbled upon the use
of the 'pam_debug' file. Touching this file and rebooting yielded:-

sf1(root)%
INIT: New run level: S
The system is coming down for administration.  Please wait.
Unmounting remote filesystems: done.
Print services stopped.
Killing user processes: done.
Feb  9 10:01:31 PAM: pam_start(init zsmon) - debug = 1
Feb  9 10:01:31 PAM: pam_set_item(1)
Feb  9 10:01:31 PAM: pam_set_item(2)
Feb  9 10:01:31 PAM: pam_set_item(5)
Feb  9 10:01:31 PAM: pam_set_item(3)
Feb  9 10:01:31 PAM: pam_set_item(4)
Feb  9 10:01:31 PAM: pam_close_session()
Feb  9 10:01:31 PAM: load_modules: /usr/lib/security/pam_unix.so.1
Feb  9 10:01:31 PAM: load_function: successful load of pam_sm_close_session
Feb  9 10:01:31 PAM: pam_end(): status = Success

INIT: SINGLE USER MODE
Feb  9 10:01:31 PAM: pam_start(sulogin root)
Feb  9 10:01:31 PAM: pam_set_item(1)
Feb  9 10:01:31 PAM: pam_set_item(2)
Feb  9 10:01:31 PAM: pam_set_item(5)
Feb  9 10:01:31 PAM: pam_set_item(3)

Type Ctrl-d to proceed with normal startup,
Feb  9 10:01:31 PAM: pam_authenticate()
Feb  9 10:01:31 PAM: load_modules: /usr/lib/security/$ISA/pam_unix.so.1
Feb  9 10:01:31 PAM: open_module:
stat(/usr/lib/security/$ISA/pam_unix.so.1) failed: No such file or directory
Feb  9 10:01:31 PAM: load_modules: can not open module
/usr/lib/security/$ISA/pam_unix.so.1
Feb  9 10:01:31 PAM: pam_authenticate: load_modules failed
(or give root password for system maintenance): Login incorrect

Type Ctrl-d to proceed with normal startup,
Feb  9 10:01:35 PAM: pam_authenticate()
Feb  9 10:01:35 PAM: load_modules: /usr/lib/security/$ISA/pam_unix.so.1
Feb  9 10:01:35 PAM: open_module:
stat(/usr/lib/security/$ISA/pam_unix.so.1) failed: No such file or directory
Feb  9 10:01:35 PAM: load_modules: can not open module
/usr/lib/security/$ISA/pam_unix.so.1
Feb  9 10:01:35 PAM: pam_authenticate: load_modules failed
(or give root password for system maintenance): Login incorrect

Type Ctrl-d to proceed with normal startup,
Feb  9 10:01:39 PAM: pam_authenticate()
Feb  9 10:01:39 PAM: load_modules: /usr/lib/security/$ISA/pam_unix.so.1
Feb  9 10:01:39 PAM: open_module:
stat(/usr/lib/security/$ISA/pam_unix.so.1) failed: No such file or directory
Feb  9 10:01:39 PAM: load_modules: can not open module
/usr/lib/security/$ISA/pam_unix.so.1
Feb  9 10:01:39 PAM: pam_authenticate: load_modules failed
(or give root password for system maintenance): Login incorrect


It seemed clear that the problem was pam related. I messed about with
umpteen thing, eventually giving up. The whole reason for wanting single
user mode was to install sun recommended patch list. I had no option and
installed it while booted multiuser. Install went fine. After the
upgrade I could boot and login single user no problem. Problem solved.

PS. I spent ages trying to figure out this $ISA thingy. Where/how is it
defined? I would expect it to be the arch name as returned by uname -p
However the sub directory name is "sparcv9" yet "uname -p" returns
"sparc".


Regards Fergus

ORIGINAL QUESTION
>I have a new Sun Fire V120 (UltraSPARC-IIe 648MHz), No Keyboard
>OpenBoot 4.0, 512 MB memory installed,  which boots and runs
>fine multiuser. uname -a reports:-
>  "SunOS sf1 5.8 Generic_108528-13 sun4u sparc SUNW,UltraAX-i2"
>
>I am using "tip -9600 /dev/term/a" from within good-old "cmdtool"
>on another sun to connect to its serial port and attempting to boot
>it single user so that I can apply the latest set of recommended
>patches. However I can not login to the sunfire or doing anything
>with it.
>
>>ok boot -s
>>Resetting .
>>LOM event: +1h14m24s host reset
>>..
>>
>>screen:r1152x900x76 not found.
>>
>>Sun Fire V120 (UltraSPARC-IIe 648MHz), No Keyboard
>>OpenBoot 4.0, 512 MB memory installed, Serial #53839770.
>>Ethernet address 0:3:ba:35:87:9a, Host ID: 8335879a.
>>
>>Executing last command: boot -s
>>Boot device: /pci@1f,0/pci@1/scsi@8/disk@0,0  File and args: -s
>>SunOS Release 5.8 Version Generic_108528-13 64-bit
>>Copyright 1983-2001 Sun Microsystems, Inc.  All rights reserved.
>>configuring IPv4 interfaces: eri0.
>>Hostname: sf1
>>
>>INIT: SINGLE USER MODE
>>
>>Type Ctrl-d to proceed with normal startup,
>>(or give root password for system maintenance): Login incorrect
>>
>>Type Ctrl-d to proceed with normal startup,
>>(or give root password for system maintenance): Login incorrect
>>
>>Type Ctrl-d to proceed with normal startup,
>>(or give root password for system maintenance): Login incorrect
>>
>>Type Ctrl-d to proceed with normal startup,
>>(or give root password for system maintenance): Login incorrect
>
>It simply sits there ignoring any input and every few seconds
>popping out another "Login incorrect" message.
>
>
>Any ideas?
-- 

======================================================================
Fergus McMenemie               Email:fergus@twig.demon.co.uk.
Techmore Ltd                   Phone:(UK) 07721 376021

Unix/Mac/Intranets             Analyst Programmer
======================================================================
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Feb 12 17:28:23 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:26 EST