passwd from stdin

Rabbul Nawaz rabbul.nawaz at deeproot.co.in
Thu Nov 27 17:36:37 UTC 2008


>
> There is another way.
>
> Configure busybox to build ONLY chpasswd applet. Build it.
> rename resulting busybox as "chpasswd". Use it as standalone
> application. No need to replace existing busybox binary,
> just add this one.
>
> Newer versions of busybox even detect "only one applet" case
> and simplify some things. For example, you no longer
> have to rename (or symlink) the binary to "chpasswd".
> Since it has only one applet, that applet's function
> will be invoked regardless of binary's name.
> --
> vda

This method was better, as I don't have to modify the existing busybox binary.
Thanks for the suggestion.

-Rabbul Nawaz. 




More information about the busybox mailing list