On Fri, Oct 22, 2010 at 11:25:11AM -0500, Bruce Dubbs wrote: > Nolan wrote: > > I am sure I followed the book. Will recheck my steps, and if need be > > will start over with a reformat of my LFS parition. > > IIRC ubuntu will not allow me to create anything in the native > > environment without a 'sudo'. > > > > Can I change the directory and file ownership to "lfs" with a chown, or > > is the fact that the programs were compiled as > > "root" have a detrimental effect? > > You will need sudo (or su, or log in as the root user on systems that > allow it) to create the lfs user (Chapter 4.3) and set up the lfs > partition (fdisk, mke2fs, chown, mount)( Chapter 2). You can also use > sudo to enter the chroot environment (Chapter 6.4). There are a couple > of other setup places where sudo is useful. > > Sudo is never needed to build or install a package. > > -- Bruce
I installed Ubuntu several years ago and the default install had no root and as you said and you had to use sudo for anything that needed root priviledges. I didn't like this so much, so installed the root user but couldn't remember how I did it. I searched and found this: URL: http://www.sizlopedia.com/2008/04/16/how-to-login-to-ubuntu-as-root-user/ 1. Open the terminal and type: sudo passwd root 2. When you see the prompt that says "Enter new UNIX password", enter the password you want for the root user and confirm it. 3. Type: sudo gedit /etc/X11/gdm/gdm.conf 4. Locate the line that says "AllowRoot=false". Change it to "AllowRoot=true". 5. Save the file 6. Exit gedit, logout and then reboot. I couldn't find any ref to "IIRC ubuntu" and don't know if you would choose to do this anyway. The sudo should work to get you to chroot. Good luck! Mike Hollis -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page