
Shadow Utils Fix
(2 posts) (1 voice)-
I know this may be old news, and I know that busy box has most of the things that shadow utils already does BUT there are a few very useful things like usermod that it doesn't. After searching around I figured I would add some useful info here. I spent about an hour fumbling around with it so I hope this helps anyone else out there that wants it. First of all you have to have the tool chain installed. Normally it's hard to find this code for shadow-utils but it is downloadable here: http://ftp.pld-linux.org/software/shadow On a quick side note - There are many other utilities and their code downloadable here: http://www.happy-monkey.net/architect/minimalist/cmd-util.html I found that there was a small error in the make'ing of this code, so I fixed that (more on that in a moment.) and built it successfully on the latest cooking. wget ftp://ftp.pld-linux.org/software/shadow/shadow-4.0.3.tar.gz tar zxvf shadow-4.0.3.tar.gz cd shadow-4.0.3 vi libmisc/xmalloc.c # comment out the following line with C style comments /* */ and save the file (:wq if vi or vim) /* extern char *malloc(); */ ./configure make make install #as root or sudo which usermod #check to see if it's in the path /usr/sbin/usermod --help #see what we can do with itPosted 13 years ago #
-
oh and if this is in the wrong area forgive me, im new to this distro.Posted 13 years ago #
Reply
You must log in to post.