[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: passwd from stdin
From:       Rabbul Nawaz <rabbul.nawaz () deeproot ! co ! in>
Date:       2008-11-27 17:48:37
Message-ID: 200811272306.37625.rabbul.nawaz () deeproot ! co ! in
[Download RAW message or body]

>
> 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. 

_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic