Re: Can't log in the system
From: Noel R. Nihill (nnihil01_at_Motorola.BLAH.com)
Date: 11/05/03
- Next message: Thomas Tornblom: "Re: How many file open for a given process"
- Previous message: Noel R. Nihill: "Re: Can't log in the system"
- In reply to: Alex Li: "Can't log in the system"
- Next in thread: Noel R. Nihill: "Re: Can't log in the system"
- Reply: Noel R. Nihill: "Re: Can't log in the system"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Thomas Tornblom: "Re: How many file open for a given process"
- Previous message: Noel R. Nihill: "Re: Can't log in the system"
- In reply to: Alex Li: "Can't log in the system"
- Next in thread: Noel R. Nihill: "Re: Can't log in the system"
- Reply: Noel R. Nihill: "Re: Can't log in the system"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|