Re: [lfs-support] lfs 7.4 / Section 6 - Building the LFS System as sudo?

2013-12-01 Thread Douglas R. Reno
You want to run these commands as root (by using sudo).

Douglas Reno
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] lfs 7.4 / Section 6 - Building the LFS System as sudo?

2013-12-01 Thread Chris Staub
On 12/01/2013 06:27 PM, frozen tuesday wrote:
   Is it sufficient to sudo before every command in the rest of the book,
   or do I need to find a way to log in as the user root?
   
Thanks.

   You stay root anyway as long as you're in the chroot.

 I see the chroot is coming up in 6.4 but before that here are some
 commands that need to be entered in the 6.2 section. Do I enter those as
 sudo or as lfs?

 Thanks.

The book tells you. See the Changing Ownership page again.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] lfs 7.4 / Section 6 - Building the LFS System as sudo?

2013-11-29 Thread Chris Staub
On 11/29/2013 01:56 PM, frozen tuesday wrote:
 Hello all --

 Thanks to the help I have received here or elsewhere, I have made it as
 far as section III in the online instructions: Building the LFS System.

 I am using Linux Mint 15 as my host computer which only allows me to
 sudo before commands. I cannot log in as root (to my knowledge). The
 instructions at the end of section 5 state:

 The commands in the remainder of this book must be performed while
 logged in as user |root| and no longer as user |lfs|. Also, double check
 that |$LFS| is set in |root|'s environment.

 Is it sufficient to sudo before every command in the rest of the book,
 or do I need to find a way to log in as the user root?

 Thanks.

You stay root anyway as long as you're in the chroot.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] lfs 7.4 / Section 6 - Building the LFS System as sudo?

2013-11-29 Thread Douglas R. Reno
Hello,

On Ubuntu and Mint, I found out that if you run:

sudo passwd root

And set the password, you can run su - root and login as root. I do this
as one of the first things when setting up a Ubuntu or Mint system because
I cannot stand sudo.

Hope this helps!

Douglas Reno
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] lfs 7.4 / Section 6 - Building the LFS System as sudo?

2013-11-29 Thread Walter P. Little
On Fri, Nov 29, 2013 at 10:56 AM, frozen tuesday
frozen.tues...@gmail.comwrote:

 Hello all --

 Thanks to the help I have received here or elsewhere, I have made it as
 far as section III in the online instructions: Building the LFS System.

 I am using Linux Mint 15 as my host computer which only allows me to
 sudo before commands. I cannot log in as root (to my knowledge).


Does sudo bash work to get you logged in as root?  That is my typical way
to get around systems that don't allow a direct root login


 The instructions at the end of section 5 state:

 The commands in the remainder of this book must be performed while logged
 in as user root and no longer as user lfs. Also, double check that $LFSis set 
 in
 root's environment.

 Is it sufficient to sudo before every command in the rest of the book, or
 do I need to find a way to log in as the user root?

 Thanks.

 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page