su from shadow

Mark Cason farmerboy1967 at gmail.com
Fri Mar 11 22:54:40 PST 2005


Sorry, Typo.  It should have been:

all:

	SU='$(shell su --version | grep -c coreutils)'; \
	if [[ $$SU == "0" ]]; then \
	  su $(LFSUSER) -c "/bin/sh -c 'source ~/.bashrc && cd $(SRC) && make
chapter-5'"; \
	else \
	  su $(LFSUSER) -s/bin/sh -c 'source ~/.bashrc && cd $(SRC) && make
chapter-5'; \
	fi; \



More information about the lfs-chat mailing list