Help: ownership problem of $LFS/tools

Mike McCarty Mike.McCarty at sbcglobal.net
Thu Jun 18 12:51:57 PDT 2009


Ken Moffat wrote:

[...]

>  Can you get a root login shell by using 'sudo /bin/bash', and from there do
> things in the way that the book says ?
> 
>  I understand the attraction of 'sudo' for regular distributions, but
> configuring
> /etc/sudoers is always a compromise between functioality and security.  When
> the aim is to use a distro as a host to build a new LFS system, actually
> becoming root is far more straightforward.

There may be an issue here, where 'sudo' is not actually a separate
program, in which case

"bash sudo <something>"

is different from

"sudo bash <something>"

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!



More information about the lfs-support mailing list