Re: Can't log in the system

From: Noel R. Nihill (nnihil01_at_Motorola.BLAH.com)
Date: 11/05/03


Date: Wed, 5 Nov 2003 10:20:39 -0000


"Alex Li" <alexli@icil.net> wrote in message
news:bo9kpn$h5m$1@news.yaako.com...
>
> Yesterday after I had ldap enabled in my system,while today right after i
> reboot the system,I tried any account I have in the system but failed,root
> included.Could any1 be kind to tell me how to once again log in the
system.

Is it possible that you have 'ldapped' the system in such
a way that /etc/passwd or /etc/shadow are now unreadable
by /bin/login? Tell us what message you are getting when
your login is refused.

If you can boot from Solaris CD 1 of 2, you can boot cdrom -s
and check permissions. You could also temporarily move /bin/login
to /bin/original_login and replace it with a script like:

#!/bin/ksh
truss -o /var/login.trc -leaf /bin/original_login
exit 0

...and attempt to boot from disk and login to the system.
On failure, reboot from CD to regain control and look
at /var/login.trc for any nasties.

Word to the wise: 'man login' is chock-full of titbits on
the login process.

--
Noel R. Nihill
UNIX® platform development
Motorola NSS
I *could* be arguing in my spare time.


Relevant Pages

  • Re: passwords resetting upon reboot of DC
    ... I try to login with the domain administrator account ... reboot either DC, the domain Administrator password, as well as at ...
    (microsoft.public.windows.server.active_directory)
  • Re: New user login issue
    ... Hi Ron, After doing some research I deleted the account, rebooted, typed ... "control passwords2" and the box requiring users to create passwords was ... The login flashes the desktop for a split-second and then brings me back to ... A reboot did not change anything. ...
    (microsoft.public.windowsxp.help_and_support)
  • Connecting a remote workstation to a domain
    ... Login as administrator on the workstation and create a VPN-connection ... remark that you will have to reboot the workstation. ...
    (microsoft.public.windows.server.sbs)
  • Connecting a remote workstation to a domain
    ... Login as administrator on the workstation and create a VPN-connection ... remark that you will have to reboot the workstation. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Windows xp Prof remove Administrator acct
    ... I followed your procedure and I didn't need to login on reboot. ... procedure - I sure didn't want to lose my computer settings. ... Administrator account is highlighted by default, ...
    (microsoft.public.windowsxp.general)