Opened 23 years ago

Closed 22 years ago

Last modified 22 years ago

#149 closed defect (fixed)

install chap5 as non-root

Reported by: gerard@… Owned by: gimli@…
Priority: highest Milestone:
Component: Book Version: CVS
Severity: normal Keywords:
Cc:

Description

may be a lot safer, less chance messing up starting distro after mounting $LFS, run "chown user.group -R $LFS" (the reader has to pick his/her own values).

then after entering chroot the first time in chapter 6, run "chown 0.0 -R /"

that should do it.

Change History (13)

comment:1 by gerard@…, 23 years ago

Resolution: later
Status: newclosed

comment:2 by gerard@…, 23 years ago

Resolution: later
Status: closedreopened

comment:3 by gerard@…, 22 years ago

Priority: normalhighest

comment:4 by markh@…, 22 years ago

hmm.. why not chown root.root -r $LFS *before* entering chroot? Will it make a difference either way? Which solution do people prefer is put in?

comment:5 by gerard@…, 22 years ago

the idea was to minimize potential damage done to host distro. Running chown root.root -R $LFS may fail if $LFS isn't set. Or if /mnt/lfs isn't typed properly, or for some reason somebody types -R / mnt/lfs or something stupid.

Running it inside chroot is the safest way (which again was the whole idea behind it, don't touch with root until chroot is entered)

comment:6 by gimli@…, 22 years ago

Installing sh-utils:

WARNING: insufficient access; not installing su NOTE: to install su, run 'make install-root' as root

it is a nice idea... but at least sh-utils have to be installed as root (_if_ we want su in chroot, that is =)

comment:7 by gerard@…, 22 years ago

We don't need "su" in chroot

comment:8 by gimli@…, 22 years ago

Owner: changed from lfs-book@… to marc_heerdink@…
Status: reopenedassigned

comment:9 by gerard@…, 22 years ago

* Bug 254 has been marked as a duplicate of this bug. *

comment:10 by gerard@…, 22 years ago

* Bug 254 has been marked as a duplicate of this bug. *

comment:11 by gimli@…, 22 years ago

Resolution: fixed
Status: assignedclosed

I'm not really awake today, should have closed this bug a lot earlier :o)

comment:12 by gerard@…, 22 years ago

Keywords: VERIFIED added

comment:13 by gerard@…, 22 years ago

Keywords: VERIFIED removed
Note: See TracTickets for help on using tickets.