coreutils su

Robert Connolly cendres at videotron.ca
Sun Jan 18 16:36:29 PST 2004


Uhm. Coreutils su is replaced by shadow's. I know we need coreutil's su to run 
its own make check, but we can use the one in ./src/su. So no need for "make 
install-root" in coreutils chap6. I'm keeping my eyes open for a way to build 
su without installing it. Sound good?

./configure --enable-selinux --prefix=/usr
make
make check-root

echo "dummy1:x:1000" >> /etc/group
echo "dummy2:x:1001:dummy" >> /etc/group
echo "dummy:x:1000:1000:::/bin/bash" >> /etc/passwd

./src/su dummy -c "make RUN_EXPENSIVE_TESTS=yes check"

sed -i.bak '/dummy/d' /etc/passwd /etc/group
make install

I tried it, it works fine.




More information about the hlfs-dev mailing list