> From blfs-dev-boun...@linuxfromscratch.org Mon Jan 13 02:55:59 2014 > Date: Sun, 12 Jan 2014 21:02:47 -0600 > From: Bruce Dubbs <bruce.du...@gmail.com> > To: BLFS Development List <blfs-dev@linuxfromscratch.org> > Subject: Re: [blfs-dev] [blfs-book] [BLFS Trac] #4556: Add package: lsof_4.87 > . . > >>>>> yes n |./Configure linux > >>> > >>> > >>> 'echo n' ? > >> > >> No, it asks two questions. > > > > Yes, and? So the first question gets 'n' and the second question gets > > default > > and you get the inventory part done.
s/done/not done (in each case)/ > > How do you get he CR for the 2nd question into a script? > Don't need to explicitly here. The consequent fall-through to './Customize ...' gives the adjusted 'machine.h'; cf/re not running as set*id. (Or you can just modify machine.h directly after the main ./Configure ). > >>> 0755 root root /usr/bin/lsof , (ie not suid) & no addl gp ? > >> > >> Some of the things it does requires root, even when run as a > >> non-privileged user. > >> > > > > > > Eeek. I'll keep it non-setuid, tyvm. > > LOL. Your distro... > Indeed, 'LOL' while recommending folks install as set*id; even moreso as it's not really needed. (Lsof 'needed' [even though it didn't really] set*id even while containing (thus-)rootable exploits). General default re set*id should be no unless strong (which includes/implies known, understood) reason to enable. Why do you need/want set*id ? rgds, akhiezer > -- Bruce > -- > -- -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page