[PATCH] passwd scripting

Rob Landley rob at landley.net
Wed Jan 18 16:40:13 UTC 2006


On Wednesday 18 January 2006 06:07, Tito wrote:

> just one thought:
> as for changing passwords for other users you need to be root:
> a) you don't need to provide old password
> b) rather than do all this bb_askpass magic would it not be simpler
>     to add a non standard switch (e.g. -p) and do something like:
>
> passwd user -p new_pass
>
> The only problem would be that maybe it skips the obscure test.

The thing is, chpasswd is an existing command that was there as far back as 
Red Hat 7.2, and is also on my ubuntu laptop.  I intend to look at its' man 
page to see what the correct behavior is when auditing the patch.

Rob
-- 
Steve Ballmer: Innovation!  Inigo Montoya: You keep using that word.
I do not think it means what you think it means.



More information about the busybox mailing list