SliTaz SliTaz Forum

You are not logged in.

#1 2011-08-14 04:10:14

tacitcogito
Member
Registered: 2011-08-14
Posts: 2

Shadow Utils Fix

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:

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 it

Offline

#2 2011-08-14 04:12:04

tacitcogito
Member
Registered: 2011-08-14
Posts: 2

Re: Shadow Utils Fix

oh and if this is in the wrong area forgive me, im new to this distro.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]