On Wed, May 14, 2014 at 7:28 AM, Ralf Friedl <[email protected]> wrote:
> Laszlo Papp wrote:
>>
>> is this possible? I am looking for something like "usermod -l" on desktop.
>>
>> Alternatively, I have to look into the get/setpwent syscalls?
>
> You can also use sed to change /etc/passwd
>
> sed -i -e /s^olduser:/newuser:/ /etc/passwd

Yeah, plus I need to move (i.e. rename) the home folder and then I
think I am done. Thanks.
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to