Re: Recovering destroyed /etc/passwd from /etc/shadow?
From: Bit Twister (BitTwister_at_localhost.localdomain)
Date: 05/24/03
- Next message: Nico Kadel-Garcia: "Re: How to reverse work of mkpasswd?"
- Previous message: NOSPAM: "Recovering destroyed /etc/passwd from /etc/shadow?"
- In reply to: NOSPAM: "Recovering destroyed /etc/passwd from /etc/shadow?"
- Next in thread: 2Host.com - Robert: "Re: Recovering destroyed /etc/passwd from /etc/shadow?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 23 May 2003 22:40:29 GMT
On 23 May 2003 15:12:41 -0700, NOSPAM wrote:
> Hello,
> I managed to destroy my /etc/passwd file (don't ask ;). Is there any
> way to rebuild it with /etc/shadow (which is still intact)??
let us see
passwd: mail:x:8:12:mail:/var/spool/mail:/bin/sh
shadow: mail:*:12140:0:99999:7:::
You have your work cut out for you.
just find the everyone's home and shell is,
look in their directory to uid and group and you start vi-ing away.
- Next message: Nico Kadel-Garcia: "Re: How to reverse work of mkpasswd?"
- Previous message: NOSPAM: "Recovering destroyed /etc/passwd from /etc/shadow?"
- In reply to: NOSPAM: "Recovering destroyed /etc/passwd from /etc/shadow?"
- Next in thread: 2Host.com - Robert: "Re: Recovering destroyed /etc/passwd from /etc/shadow?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|