Date: Sun, 20 Jul 2003 13:27:25 -0500 (CDT) From: "Matthew D.Fuller" <fullermd@over-yonder.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/54670: New port - sysutils/pwd_unmkdb Message-ID: <20030720182725.3B93A20F2A@mortis.over-yonder.net> Resent-Message-ID: <200307201830.h6KIUCxA068753@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 54670 >Category: ports >Synopsis: New port - sysutils/pwd_unmkdb >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 20 11:30:12 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Matthew D. Fuller >Release: FreeBSD 5.1-RELEASE i386 >Organization: >Environment: System: FreeBSD mortis.sighup.org 5.1-RELEASE FreeBSD 5.1-RELEASE #1: Fri Jun 27 22:00:18 CDT 2003 fullermd@mortis.sighup.org:/usr/obj/usr/src/sys/MORTIS i386 >Description: pwd_unmkdb(8) is a program to derive a text master.passwd file from a hashed spwd.db, which is a useful thing if you screw up a vipw(8) or mergemaster(8), or otherwise corrupt your plaintext file, and don't have a recent enough backup. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pwd_unmkdb # pwd_unmkdb/pkg-descr # pwd_unmkdb/pkg-plist # pwd_unmkdb/distinfo # pwd_unmkdb/Makefile # echo c - pwd_unmkdb mkdir -p pwd_unmkdb > /dev/null 2>&1 echo x - pwd_unmkdb/pkg-descr sed 's/^X//' >pwd_unmkdb/pkg-descr << 'END-of-pwd_unmkdb/pkg-descr' Xpwd_unmkdb is a program to do the opposite of pwd_mkdb(8). That is, to Xgive you a textual master.passwd file from a hashed spwd.db database. XUseful if you delete or corrupt master.passwd, and don't have an Xup-to-date backup. X XWWW: http://www.over-yonder.net/~fullermd/projects/pwd_unmkdb/ X X- Matthew Fuller <fullermd@over-yonder.net> END-of-pwd_unmkdb/pkg-descr echo x - pwd_unmkdb/pkg-plist sed 's/^X//' >pwd_unmkdb/pkg-plist << 'END-of-pwd_unmkdb/pkg-plist' Xsbin/pwd_unmkdb END-of-pwd_unmkdb/pkg-plist echo x - pwd_unmkdb/distinfo sed 's/^X//' >pwd_unmkdb/distinfo << 'END-of-pwd_unmkdb/distinfo' XMD5 (pwd_unmkdb-1.1.tar.gz) = e7fe9623588a51937299113842bc8ce2 END-of-pwd_unmkdb/distinfo echo x - pwd_unmkdb/Makefile sed 's/^X//' >pwd_unmkdb/Makefile << 'END-of-pwd_unmkdb/Makefile' X# New ports collection makefile for: pwd_unmkdb X# Date created: 20 July 2003 X# Whom: Matthew Fuller <fullermd@over-yonder.net> X# X# $FreeBSD$ X# X XPORTNAME= pwd_unmkdb XPORTVERSION= 1.1 XCATEGORIES= sysutils XMASTER_SITES= http://www.over-yonder.net/~fullermd/projects/pwd_unmkdb/ \ X http://www.linc-it.com/~fullermd/distfiles/ X XMAINTAINER= fullermd@over-yonder.net XCOMMENT= Recover a master.passwd from the hashed database X XMAN8= pwd_unmkdb.8 X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/pwd_unmkdb ${PREFIX}/sbin X ${INSTALL_MAN} ${WRKSRC}/pwd_unmkdb.8 ${MAN8PREFIX}/man/man8 X X.include <bsd.port.mk> END-of-pwd_unmkdb/Makefile exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030720182725.3B93A20F2A>