/etc/shadow corrupted no backup can not login

  • Follow


Hi

 I am running solaris 2.9. My /etc/shadow file is corrupted.
I do not have a backup.
How do I fix it?

Thans
Mangesh
0
Reply deshpandm 6/30/2004 9:57:40 PM

In article <4ff1ffa3.0406301357.a10560c@posting.google.com>,
 deshpandm@yahoo.com (Mangesh) wrote:

> I am running solaris 2.9. My /etc/shadow file is corrupted.
> I do not have a backup.  How do I fix it?

You can't really--but you can recover partially.  Have you tried logging 
in under single user?  If that doesn't work, what about booting from CD, 
mounting the root volume, and renaming the bad /etc/shadow with an empty 
one.

If you're lucky, you might have copies of opasswd and oshadow in /etc 
from when you ran pwconv.  If not, will pwconv create an /etc/shadow if 
the entries in /etc/passwd have "*" for their passwords?

No backups, well that's your problem.  You loose a toe for that one.  
Here's a .45.  Choose one you don't need for balance.

-- 
DeeDee, don't press that button!  DeeDee!  NO!  Dee...



0
Reply Michael 6/30/2004 11:50:36 PM


deshpandm@yahoo.com (Mangesh) wrote in message news:<4ff1ffa3.0406301357.a10560c@posting.google.com>...
> Hi
> 
>  I am running solaris 2.9. My /etc/shadow file is corrupted.
> I do not have a backup.
> How do I fix it?
> 
> Thans
> Mangesh

Hi,

boot Solaris from CD-ROM, mount the partition and change
your shadow-file.

CU
Klaus Grote
DNS GmbH
0
Reply klaus 7/1/2004 6:31:30 AM

deshpandm@yahoo.com (Mangesh) wrote in message news:<4ff1ffa3.0406301357.a10560c@posting.google.com>...
> Hi
> 
>  I am running solaris 2.9. My /etc/shadow file is corrupted.
> I do not have a backup.
> How do I fix it?
> 
> Thans
> Mangesh

Hi,

boot Solaris from CD-ROM, mount the partition and change
your shadow-file.

CU
Klaus Grote
DNS GmbH
0
Reply klaus 7/1/2004 6:31:50 AM

3 Replies
1174 Views

(page loaded in 0.07 seconds)

Similiar Articles:













7/20/2012 2:50:48 PM


Reply: