Jeremy Huntwork wrote:
>> now, the directions for exim require you to logout of root and log
>> back in as a regular user that the directions tell you to create. my
> >question is, how do you do that from the livecd environment?
>When you're in the chroot environment of your LFS system, just create a
>new unprivileged user via groupadd and useradd.
ok, jeremy and dan. you're right that i don't need exim yet. i just
kind of recursively went through the list of dependencies and
optionals and downloaded everything for lynx and fontconfig since my
lfs system isn't hooked up to the internet and it is a pain to get new
source on the machine. my question still remains though. in the lfs
book, we chroot into the new system before it can stand on its own.
i'm new at this and the only way i can login to the new system while
i'm stil running the lfs live cd is by copying and pasting the chroot
instructions from the book. how do i change:
-----------------------------------------------
chroot "$LFS" /usr/bin/env -i \
HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin \
/bin/bash --login
------------------------------------------------
if i wanted to login as a user other than root, for instance as the
user your instructed to make in the exim instructions(even though, i
know i need that yet), which are:
Installation of Exim
Before building Exim, as the root user you should create the group
and user exim which will run the exim daemon:
-------------------------------------------------------------------------
groupadd -g 31 exim &&
useradd -d /dev/null -c "Exim Daemon" -g exim -s /bin/false -u 31 exim
-------------------------------------------------------------------
i would like to know how to do this is case i need to for other
installations, since i have a lot to install before i have a useable
system.
thanks
ryan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page