Invaild user in Netkit

Richard Lightman richard at nezumi.plus.com
Wed Oct 30 07:35:58 PST 2002


* Jens Emmel <jens.emmel at hansenet.de> [2002-10-30 15:18]:
> Hi,
>  during compiling Netkit-base-0.17 following showed up:
> 
> make[1]: Entering directory `/usr/src/netkit-base-0.17/ping'
> install -s -o root -m4755 ping /bin
> install: invalid user `root'
> make[1]: *** [install] Error 1
> make[1]: Leaving directory `/usr/src/netkit-base-0.17/ping'
> make: *** [ping.install] Error 2
> 
> I changed line 12 in ../ping/makefile from 
> 	install -s -o 'root' -m$(SUIDMODE) ping $(INSTALLROOT)$(ROOTBINDIR)
> to:
> 	install -s -m$(SUIDMODE) ping $(INSTALLROOT)$(ROOTBINDIR)
> and it worked (?)...
> Q: Is That OK?
> 
Mostly. -o root and -g root serve no useful purpose whatsoever, and
cause errors when an installer takes some security precautions.
Taking -o root out of the make file did no harm, but getting "invalid
user `root'" is suspicious.

Did you do the "exec /bin/bash --login" after re-installing bash?

Richard

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list