[BusyBox] chpasswd for busybox
William Barsse
wbarsse at pfn.com
Tue Jun 15 10:11:00 MDT 2004
Hi all,
A cursory look at the mail archive didn't reveal anything for
"chpasswd". So here's my trivial little implementation, mostly based on
"passwd". And hey, even trivial things can come in handy ;)
The patch is against pre10, but it applies cleanly to the CVS version.
It doesn't conform to the behavior of the "real" chpasswd because it
updates the passwd file incrementally as opposed to scanning the
complete input (and failing at the first error) before doing the
update.
Anyway, hope somebody finds it useful.
Cheers,
William
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.00-pre10-chpasswd.patch.gz
Type: application/x-gzip
Size: 4697 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20040615/b5ac5e3e/busybox-1.00-pre10-chpasswd.patch.bin
More information about the busybox
mailing list