New makefile nitpick

M.Canales.es manuel at linuxfromscratch.org
Fri Sep 15 12:21:21 PDT 2006


First try doing a build failed with:

 Building target 021-addinguser
/bin/sh: groupadd: command not found
/bin/sh: useradd: command not found
make[2]: *** [021-addinguser] Error 127
make[2]: Leaving directory `/mnt/build_dir/jhalfs'
make[1]: *** [mk_SETUP] Error 2
make[1]: Leaving directory `/mnt/build_dir/jhalfs'

I think that that is due my builder user not having /sbin and /usr/sbin in 
their path.

How can that be fixed via  /etc/sudoers? I think that is something related 
with the "path_info" flag, but I don't know well yet the sudoers sintax.

-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info
TLDP-ES:                           http://es.tldp.org



More information about the alfs-discuss mailing list