Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64441 - move /usr/bin/passwd -> /bin/passwd to aid system recovery.
Summary: move /usr/bin/passwd -> /bin/passwd to aid system recovery.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-17 12:19 UTC by rob holland (RETIRED)
Modified: 2004-10-09 23:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rob holland (RETIRED) gentoo-dev 2004-09-17 12:19:39 UTC
diff -r1.3 shadow-4.0.4.1-r3.ebuild
94a95,97
> 
>       # mv passwd to /bin so it can be used during system recovery
>       mv ${D}/usr/bin/passwd ${D}/bin/passwd
Comment 1 solar (RETIRED) gentoo-dev 2004-10-05 19:54:40 UTC
Why can't you recover your basic system with vi/nano ?

This means we are going to have to move /usr/lib/libcrack.so.x.x to the root parition as well.
Comment 2 SpanKY gentoo-dev 2004-10-05 20:01:16 UTC
you cant use the editors to reset the password

as for libcrack, it's already there ...

i dont see passwd needing it (ldd/strings), and when i ran `strace -f -o out passwd`, i saw no mention of libcrack in out ...
Comment 3 solar (RETIRED) gentoo-dev 2004-10-05 20:58:48 UTC
multimode:
ldd `which passwd` | grep usr/
	libcrack.so.2 => /usr/lib/libcrack.so.2 (0x40056000)
simple:
ldd `which passwd` | grep usr/

uCpie:
ldd `which passwd` | grep usr/
pie:
ldd `which passwd` | grep usr/

toucan: 
ldd `which passwd` | grep usr
	libcrack.so.2 => /usr/lib/libcrack.so.2 (0x23fd6000)
eagle:
ldd `which passwd`
        libcrack.so.2 => /usr/lib/libcrack.so.2 (0x22be5000)
cheap:
ldd `which passwd` | grep usr/
	libcrack.so.2 => /usr/lib/libcrack.so.2 (0x23593000)
------------------------------------------------------------
Please add a >= dep to whatever version of cracklib that moved it to /lib/ if one does not already exist.
Comment 4 SpanKY gentoo-dev 2004-10-05 21:02:43 UTC
seems cracklib-2.7-r9 started the /lib practice
Comment 5 SpanKY gentoo-dev 2004-10-09 23:14:34 UTC
done deal