Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Jun 2013 07:31:15 +0200
From:      rank1seeker@gmail.com
To:        hackers@freebsd.org
Subject:   Re: pw
Message-ID:  <20130604.053115.126.1@DOMY-PC>
In-Reply-To: <AAB4D39A-BDD4-4572-AFC9-E7A907342A47@dataix.net>
References:  <20130603.214755.24886.0@webmail02.dca.untd.com> <AAB4D39A-BDD4-4572-AFC9-E7A907342A47@dataix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> I guess I could have been more clear about this as well...=0D=0A> =0D=0A> =
Files you need ( pre-prepped ):=0D=0A> /etc/passwd=0D=0A> =
/etc/master.passwd=0D=0A> /etc/pwd.db=0D=0A> =0D=0A> - or -=0D=0A> Use =
/usr/bin/vi following up with /usr/sbin/pwd_mkdb=0D=0A> =0D=0A> - or =
-=0D=0A> =0D=0A> /usr/sbin/vipw=0D=0A> =0D=0A> Either which way there is =
a man page for each and recovering a old system like that with even newer =
live media is not that hard of a task considering you don't need to do =
anything with the passwd files at all in order to mount any of the slices =
and pull whatever it is off from it directly.=0D=0A> =0D=0A> PS: the =
utilities that are there have already been written. You have just wasted =
several years just not looking for them or using them correctly and would =
suggest that you write something if these are not satisfyingly straight =
forward enough for you.=0D=0A> =0D=0A> Several years of no answer might =
just be the answer that was right there before you in the first =
place.=0D=0A> =0D=0A> #AH=0D=0A> =0D=0A> -- =0D=0A>  Jason =
Hellenthal=0D=0A>  Inbox: =
jhellenthal@DataIX.net=0D=0A=0D=0A=0D=0A=0D=0AFastest way is to simply =
drop into a single user mode and just pick a shell.=0D=0ANow you are THE =
root. (By default, entering into single user mode, doesn't prompt for =
password)=0D=0Amount / RW and # passwd (it exists on =
4.x?)=0D=0AVolila!=0D=0A=0D=0ADomagoj Smol=E8i=E6



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130604.053115.126.1>