gentoo add user
Add a new user called ‘username’ to users and wheel group, the wheel group will allow you to su
useradd -m -G users,wheel username
then
passwd username
Add a new user called ‘username’ to users and wheel group, the wheel group will allow you to su
useradd -m -G users,wheel username
then
passwd username
edit file
/etc/conf.d/apache2
append
-D USERDIR
to APACHE2_OPTS
equery list
emerge app-portage/gentoolkit if you already haven’t.
Simply copy /var/lib/portage/world from the old machine to the new one.
Then:
# emerge -va –noreplace $(cat old_world_file)
This command will install all of the files in the old_world_file while also adding them to the world of the new machine. The –noreplace was added in case some packages had already been installed, in order to avoid repeating one’s self.
With –noconfmem, portage will “forget” that it has already made a ._cfg file for a CONFIG_PROTECT file, thus causing portage to reinstall the ._cfg file needed for updating.