nightmorph 06/10/06 21:48:26 Modified: gentoo-freebsd.xml Log: updated gentoo-freebsd guide for bug 149766
Revision Changes Path 1.21 xml/htdocs/doc/en/gentoo-freebsd.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml?rev=1.21&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml?rev=1.21&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml?r1=1.20&r2=1.21 Index: gentoo-freebsd.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- gentoo-freebsd.xml 26 May 2006 19:29:27 -0000 1.20 +++ gentoo-freebsd.xml 6 Oct 2006 21:48:25 -0000 1.21 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.20 2006/05/26 19:29:27 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.21 2006/10/06 21:48:25 nightmorph Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/gentoo-freebsd.xml"> @@ -17,6 +17,9 @@ <author title="Author"> <mail link="[EMAIL PROTECTED]">Aaron Walker</mail> </author> +<author title="Author"> + <mail link="[EMAIL PROTECTED]">Chris White</mail> +</author> <abstract> This document gives some general information on FreeBSD, as well as @@ -28,8 +31,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>2.5</version> -<date>2006-05-26</date> +<version>2.6</version> +<date>2006-10-06</date> <chapter> <title>Introduction to FreeBSD</title> @@ -125,7 +128,7 @@ <chapter> <title>Installing Gentoo/FreeBSD</title> <section> -<title>Installation instructions</title> +<title>Booting the CD</title> <body> <p> @@ -133,8 +136,8 @@ Gentoo/FreeBSD. Unfortunately, we currently lack our own installation media, so you have to choose between two alternative installation methods. The first would be to use an existing FreeBSD installation to partition your hard drive -and use it as a base for installing Gentoo/FreeBSD. Alternatively, you can also -use the excellent <uri link="http://www.freesbie.org/">FreeSBIE LiveCD</uri> as +and use it as a base for installing Gentoo/FreeBSD. This guide will describe how +to use the <uri link="http://www.freesbie.org/">FreeSBIE LiveCD</uri> as an installation medium for Gentoo/FreeBSD. </p> @@ -145,66 +148,151 @@ version 20060118 has been tested to work for the purposes described in this document. </note> +<p> +First, boot the CD in order to begin the installation process. You'll be +presented with a login screen. The username is <c>freesbie</c>, and there is +no password. Next, run <c>sudo su</c> to become root, and optionally setup a +password. If you want to pass time during the installation process, you can run +<c>startx</c> to enter into an Xfce environment, suitable for web browsing, +AIM, and other things. Unlike Linux, FreeBSD bases the name of your interface +on the driver for the interface. For example, the Intel EtherExpress driver +(fxp) appears as fxp0 (driver fxp, first network card). To see what your +interface is, use <c>ifconfig</c>: +</p> + +<pre caption="Finding out the network interface name using ifconfig"> +# <i>ifconfig</i> +fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 + options=8<VLAN_MTU> + inet6 fe80::2d0::b7ff:febc:4fe3%fxp0 prefixlen 64 scopeid 0x1 + inet 192.168.0.106 netmask 0xffffff00 broadcast 192.168.0.255 + ether 00:d0:b7:bc:4f:e3 + media: Ethernet autoselect (100baseTX <full-duplex>) + status: active +lo0: flags=8007<LOOPBACK,MULTICAST> mtu 16384 +</pre> + +<p> +If the original DHCP request during the CD bootup failed, you can use the +<c>dhclient</c> command to obtain an IP: +</p> + +<pre caption="Obtaining a DHCP address using dhclient"> +# <i>dhclient fxp0</i> +DHCPDISCOVER on fxp0 to 255.255.255.255 port 67 interval 9 +DHCPOFFER from 192.168.0.1 +DHCPREQUEST on fxp0 to 255.255.255.255 port 67 +DHCPACK from 192.168.0.1 +bound to 192.168.0.106 -- renewal in 302400 seconds +</pre> + <note> -We use <c>ee</c> as a default editor in this guide but you can choose -<c>vim</c>, <c>nano</c> or any other editor you like to configure your system. +The output presented here will differ based on your network. </note> <p> -Before you can begin with the installation, you have to setup a hard disk for -use with Gentoo/FreeBSD. This can either be done via <c>sysinstall</c> -(available from a current FreeBSD installation as well as from within FreeSBIE) -or by manually using the commands <c>fdisk</c>, <c>disklabel</c> and <c>newfs</c>. -If you have never set up a FreeBSD system before, <c>sysinstall</c> may be the -better option for you. In that case make sure that you don't use the sysinstall -launched by FreeBSD's or FreeSBIE's installers, but use the following command instead: +Next, create the chroot for your installation: </p> -<pre caption="Partitioning with sysinstall"> -# <i>sysinstall diskPartitionEditor diskPartitionWrite diskLabelEditor diskLabelCommit</i> +<pre caption="Making the chroot directory"> +# <i>mkdir /mnt/gentoo</i> </pre> +<note> +There is a bug in the <uri +link="http://dev.gentoo.org/~flameeyes/minimal-freesbie-drizzt.iso.bz2"> +minimal Freesbie CD</uri> that prevents the creation of the +<path>/mnt/gentoo</path> mount point. To avoid this, use <path>/mnt</path> +instead of <path>/mnt/gentoo</path> in the following sections. +</note> + +</body> +</section> +<section> +<title>Partitioning the Drive</title> +<body> + <p> -If you face difficulties -while partitioning or formatting your hard disks, have a look at the great -<uri link="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/">FreeBSD -Handbook</uri> or hop onto <c>#gentoo-bsd</c> on the Freenode IRC server. +Now that we have a mount point, it's time to partition the drive. This is done +with the <c>sysinstall</c> command: </p> +<pre caption="Running the sysinstall command to fdisk the drive"> +# <i>sysinstall diskPartitionEditor diskPartitionWrite</i> +</pre> + <p> -Once you're done setting up your disks, you have to create a mount point for -your Gentoo/FreeBSD installation and mount all the necessary partitions. +We recommend that you use the default layout. Press enter at the dialog, then +press <b>a</b> followed by <b>q</b> to accept the default layout. The next +screen will present you with the option of a bootloader. For this option, +choose "None" as we'll be installing the bootloader later on. Next comes the +actual partition sizing and mount points. </p> -<pre caption="Creating a mount point and mounting partitions"> -# <i>mkdir /mnt/gentoo</i> -<comment>(Replace X with the correct numbers for your hard disk.)</comment> -# <i>mount /dev/adXsXa /mnt/gentoo</i> +<p> +This next step also uses <c>sysinstall</c>, but with different arguments: +</p> + +<pre caption="Running sysinstall to setup partition sizing and mount points"> +# <i>sysinstall diskLabelEditor diskLabelCommit</i> </pre> <p> -If you're using the FreeSBIE LiveCD and you already had an UFS partition on -your hard disk, it has already been mounted read-only to <path>/mnt/ufs.1</path>. -If you want to use that location for your installation, you'll have to remount it -in read-write mode: +Here, we'll refrain from using the automatic layout, and create one giant root +partition, followed by a swap partition. Hit <b>c</b> to create a new +partition. A dialog prompts you to enter a size. Go ahead and do so, using +MB/GB for setting different sizes, or C for cylinders. For root, choose FS as +the partition type, and set the mount point as <path>/mnt/gentoo</path>. <e>If +you do not adjust the mount point, it will overwrite the FreeSBIE +environment!</e>. As <path>/boot</path> is not a separate partition, you'll +need to disable soft-updates, or your system will not boot! To do so, use the +arrow keys to navigate to your newly created partition, then hit the <b>s</b> +key, until "Newfs" contains no <b>+S</b>. Now navigate the arrow keys until +the "Disk" line is highlighted, and hit <b>c</b> again to create a swap +partition. Generally, we recommend a swap space that is twice the size of your +RAM. Choose SWAP as the partition type, and don't worry about soft-updates, as +it does not apply to swap. Now we're finished, so hit <b>q</b> to finish the +process. +</p> + +<p> +This will finalize the partitioning process, and format the drive in UFS for +FreeBSD to utilize. This will also mount the drive for you at the mount point +specified earlier (<path>/mnt/gentoo</path>). You can verify this worked by +running <c>mount</c>: </p> -<pre caption="Remounting a partition in read-write mode"> -# <i>mount -u -o rw /mnt/ufs.1</i> +<pre caption="Verifying the new disk layout was mounted with mount"> +# <i>mount</i> +... +/dev/ad0s1d on /mnt/gentoo (ufs, local) </pre> <p> -Now that you have mounted the target partition, it is time to fetch and unpack -a stage3 tarball. +Now that you have mounted the target partition, it is time to start on the Gentoo +setup. +</p> + +</body> +</section> +<section> +<title>Gentoo Setup</title> +<body> + +<p> +First, we need to download a stage3 tarball and unpack it into the chroot. +Point your browser to +<uri>http://gentoo.osuosl.org/experimental/x86/freebsd/stages/</uri>, grab the +latest snapshot, and unpack it into the mountpoint: </p> <pre caption="Obtaining and unpacking a stage3 tarball"> # <i>cd /mnt/gentoo/</i> <comment>(Any other Gentoo mirror which includes the experimental/ directory will also work.)</comment> -# <i>wget http://gentoo.osuosl.org/experimental/x86/freebsd/stages/gentoo-freebsd-6.1-stage-20060509.tar.bz2</i> -# <i>tar -jxvpf gentoo-freebsd-6.1-stage-20060509.tar.bz2</i> +# <i>wget http://gentoo.osuosl.org/experimental/x86/freebsd/stages/gentoo-freebsd-6.1-stage-20060802.tar.bz2</i> +# <i>tar -jxvpf gentoo-freebsd-6.1-stage-20060802.tar.bz2</i> <comment>(You can delete the tarball with the following command if you want to.)</comment> -# <i>rm gentoo-freebsd-6.1-stage-20060509.tar.bz2</i> +# <i>rm gentoo-freebsd-6.1-stage-20060802.tar.bz2</i> </pre> <p> @@ -223,10 +311,9 @@ </pre> <p> -Alternatively, you can also use Subversion to check out the current version of -the overlay. If you are interested in this possibility, please refer to the -<uri -link="/proj/en/gentoo-alt/contribute/index.xml?part=1&chap=3">Gentoo/ALT +Alternatively, you can use Subversion to check out the current version of the +overlay. To do this, please refer to the <uri +link="/proj/en/gentoo-alt/contribute/index.xml?part=1&chap=3">Gentoo/ALT overlay documentation</uri>. </p> @@ -240,7 +327,7 @@ # <i>mount -t devfs none /mnt/gentoo/dev/</i> # <i>cp /etc/resolv.conf /mnt/gentoo/etc</i> # <i>chroot /mnt/gentoo/ /bin/bash</i> -# <i>source /etc/profile</i> +# <i>env-update && source /etc/profile</i> </pre> <p> @@ -265,8 +352,7 @@ <pre caption="Setting up the profile and editing /etc/make.conf"> # <i>ln -sf /usr/portage/profiles/default-bsd/fbsd/6.1/x86/ /etc/make.profile</i> -<comment>(FreeBSD's standard editor is ee, which is used to edit /etc/make.conf)</comment> -# <i>ee /etc/make.conf</i> +# <i>nano /etc/make.conf</i> <comment>(Please make sure you add at least the following entries:)</comment> CHOST="i686-gentoo-freebsd6.1" ACCEPT_KEYWORDS="~x86-fbsd" @@ -275,6 +361,10 @@ </pre> <note> +Sandbox is disabled as it has not yet been ported to Gentoo/FreeBSD. +</note> + +<note> You can have a very limited system by using ~x86-fbsd keyword alone; you might want to put ~x86 in your ACCEPT_KEYWORDS if you want access to more packages but you might find broken dependencies and non-working packages; please rather @@ -283,15 +373,6 @@ </note> <p> -In order to boot correctly, you will need to create the <path>/proc</path> -directory. -</p> - -<pre caption="Creating the /proc directory"> -# <i>mkdir /proc</i> -</pre> - -<p> If you want, you can now rebuild the system's core packages. </p> @@ -299,8 +380,17 @@ # <i>emerge -e system</i> </pre> +</body> +</section> +</chapter> +<chapter> +<title>Setting up for Booting</title> +<section> +<title>Kernel Installation</title> +<body> + <p> -When you did <c>emerge -e system</c>, the sources for the FreeBSD kernel got +If you ran <c>emerge -e system</c>, the sources for the FreeBSD kernel were installed to <path>/usr/src/sys</path>. If you skipped this step, you can get them in the following way: </p> @@ -310,28 +400,187 @@ </pre> <p> -Configuring and compiling a custom kernel is really different from compiling +Configuring and compiling a custom kernel is quite different from compiling Linux, so if you are not familiar with the process we encourage you to have a look at <uri link="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html"> -chapter 8</uri> of the FreeBSD handbook. +chapter 8</uri> of the FreeBSD handbook. For now, you can do an installation of +the GENERIC kernel, which works on most systems. To begin, enter the source +directory for the kernel: </p> -<p> +<impo> Please note that currently only the "Traditional" way of building the kernel is -supported on Gentoo/FreeBSD! Also note that <c>make install</c> will probably -ask you for a <path>/boot/device.hints</path> file. A default version can be -found in the <path>conf</path> subdirectory of the <c>GENERIC</c> configuration -and is called <path>GENERIC.hints</path>. +supported on Gentoo/FreeBSD! +</impo> + +<pre caption="Entering the kernel source directory"> +# <i>cd /usr/src/sys/</i> +</pre> + +<p> +Looking over the layout, you'll see various architectures and subdirectories +for various parts of the kernel. To begin the installation, we head into the +<path>i386/conf/</path> directory: +</p> + +<pre caption="The kernel configuration directory"> +# <i>cd i386/conf/</i> +# <i>ls</i> +.cvsignore GENERIC Makefile PAE +DEFAULTS GENERIC.hints NOTES SMP +</pre> + +<p> +The main files to note are <path>GENERIC</path> and <path>GENERIC.hints</path>. +As it will be needed by the installation of the kernel, go ahead and copy +<path>GENERIC.hints</path> file to <path>/boot/device.hints</path>: +</p> + +<pre caption="Copying over the GENERIC.hints file"> +# <i>cp GENERIC.hints /boot/device.hints</i> +</pre> + +<p> +This file is used by the kernel drivers for basic configuration information +such as IRQ settings. Now it's time to configure the kernel. FreeBSD uses the +<c>config</c> command to do this. <c>config</c> uses the given file (in this +instance GENERIC) to copy over the required build files to a +<path>compile</path> directory in the parent directory. <path>GENERIC</path> is +similiar to the <path>.config</path> file for the Linux kernel. Run +<c>config</c> to produce the build directory: +</p> + +<pre caption="Configuring the kernel build"> +# <i>config GENERIC</i> +Kernel build directory is ../compile/GENERIC +Don't forget to ''make cleandepend; make depend'' +</pre> + +<p> +<c>config</c> has created a GENERIC build directory for us in the parent +directory. <c>cd</c> into it, then run the following to do a complete build: </p> +<pre caption="Building and installing the kernel"> +# <i>cd ../compile/GENERIC</i> +# <i>make cleandepend && make depend && make && make install</i> +</pre> + <p> -Now is the time to do some basic system configuration and settings. First, we -are going to setup the filesystem mounting points in <path>/etc/fstab</path>. +This will give us a complete kernel to work with. Now we'll need to setup the +bootloader for the kernel to boot. The next chapter will discuss two methods of +setting up the bootloader: <c>grub</c> and <c>boot0</c>. +</p> + +</body> +</section> +<section> +<title>Setting up the bootloader (grub)</title> +<body> + +<p> +As of grub 0.97-r1, UFS slices are readable to <c>grub</c>. This lets us use +<c>grub</c> as a bootloader, the prefered method for those coming from a Linux +background. To begin, emerge <c>grub</c> and setup the label as bootable. +Remember to replace <c>adXsY</c> with the actual number and slice of your disk. +</p> + +<pre caption="Emerge grub"> +# <i>emerge grub</i> +# <i>disklabel -B adXsY</i> +</pre> + +<p> +Now run <c>grub</c> to bring up the command prompt, and set up the partition as +shown: +</p> + +<pre caption="Setting up grub"> +<comment>(This is done to prevent disk error 29)</comment> +# <i>sysctl kern.geom.debugflags=16</i> +# <i>grub</i> +<comment>(Example using ad0s1d)</comment> +grub> <i>root (hd0,0,d)</i> + Filesystem type is ufs2, partition type 0xa5 + +grub> <i>setup (hd0)</i> + Checking if "/boot/grub/stage1" exists... yes + Checking if "/boot/grub/stage2" exists... yes + Checking if "/boot/grub/ufs2_stage1_5" exists... yes + Running "embed /boot/grub/ufs2_stage1_5 (hd0)"... 14 sectors are embedded. +succeeded + Running "install /boot/grub/stage1 (hd0) (hd0)1+14 p (hd0,0,d)/boot/grub/stage +2 /boot/grub/menu.lst"... succeeded +Done. + +grub> quit +</pre> + +<p> +When you first boot, you may not receive a grub menu. If so, run this at the +prompt: +</p> + +<pre caption="Booting the kernel with no menu"> +grub> <i>find /boot/grub/stage1</i> +<comment>(The output here is what you'll use in the next command)</comment> + (hd0,0,d) + +grub> <i>kernel (hd0,0,d)/boot/loader</i> + [FreeBSD-a.out, loadaddr=0x200000, text=0x1000, data=0x3a000, bss=0x0, entry=0x200000] + +grub> <i>boot</i> +</pre> + +<p> +The next section will look at using the alternative bootloader, <c>boot0</c>. +</p> + +</body> +</section> +<section> +<title>Setting up the bootloader (boot0)</title> +<body> + +<impo> +<c>boot0</c> is the FreeBSD bootloader. Previously, it was the only supported +bootloader until <c>grub</c> was introduced into ports with UFS slice support. +To install and configure <c>boot0</c>, run the following. Remember to replace +<c>adXsY</c> with the actual number and slice of your disk. +</impo> + +<pre caption="Installing and setting up boot0"> +# <i>emerge boot0</i> +<comment>(Leave the chroot environment)</comment> +# <i>exit</i> +<comment>(Issued from outside the chroot)</comment> +# <i>fdisk -B -b /mnt/gentoo/boot/boot0 /dev/adX</i> +# <i>chroot /mnt/gentoo /bin/bash</i> +# <i>disklabel -B adXsY</i> +</pre> + +<p> +If you need additional information on setting up <c>boot0</c>, please consult +<uri +link="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot.html">chapter +12</uri> of the FreeBSD handbook. Now it's time to do some basic system +configuration and settings. +</p> + +</body> +</section> +<section> +<title>System configuration</title> +<body> + +<p> +First, we are going to setup the filesystem mounting points in +<path>/etc/fstab</path>. </p> <pre caption="Editing the filesystem in /etc/fstab"> -# <i>ee /etc/fstab</i> +# <i>nano /etc/fstab</i> <comment>(This is an example, replace X and Y with the correct numbers for your hard disk.)</comment> #Device Mountpoint Fstype Options Dump Pass /dev/adXsYb none swap sw 0 0 @@ -343,22 +592,14 @@ <p> Now would also be a good time to set up your network connection before the final -reboot. -</p> - -<p> -You can find all the information necessary to configure your network in the -<uri link="/doc/en/handbook/handbook-x86.xml?part=4&chap=1">Gentoo -Handbook</uri>. -</p> - -<p> -To have your network interface activated at boot time, you have to add it to -the default runlevel. +reboot. You can find all the information necessary to configure your network in +the <uri link="/doc/en/handbook/handbook-x86.xml?part=4&chap=1">Gentoo +Handbook</uri>. To have your network interface activated at boot time, you have +to add it to the default runlevel: </p> <pre caption="Adding your network adapter to the default runlevel"> -# <i>rc-update add net.rl0 default</i> +# <i>rc-update add net.fxp0 default</i> </pre> <p> @@ -366,7 +607,7 @@ </p> <pre caption="Setting up the machine's hostname"> -# <i>ee /etc/conf.d/hostname</i> +# <i>nano /etc/conf.d/hostname</i> <comment>(Set the HOSTNAME variable to your hostname)</comment> HOSTNAME="tux" </pre> @@ -377,7 +618,7 @@ </p> <pre caption="Setting the domainname"> -# <i>ee /etc/conf.d/domainname</i> +# <i>nano /etc/conf.d/domainname</i> <comment>(Set the DNSDOMAIN variable to your domain name)</comment> DNSDOMAIN="homenetwork" </pre> @@ -388,7 +629,7 @@ </p> <pre caption="Setting the NIS domainname"> -# <i>ee /etc/conf.d/domainname</i> +# <i>nano /etc/conf.d/domainname</i> <comment>(Set the NISDOMAIN variable to your NIS domain name)</comment> NISDOMAIN="my-nisdomain" </pre> @@ -401,37 +642,11 @@ </p> <pre caption="Changing your keyboard layout (Optional)"> -# <i>ee /etc/conf.d/syscons</i> +# <i>nano /etc/conf.d/syscons</i> KEYMAP="spanish.iso.acc" <comment>(Possible layouts can be found in /usr/share/syscons/keymaps).</comment> </pre> -<impo> -Please make absolutely sure you add your new Gentoo/FreeBSD installation to the -configuration of your bootloader, otherwise you won't be able to boot your newly -installed system! If you don't have another bootloader installed, you should use -<c>boot0</c>, as it is currently the only one supported by FreeBSD. In this case -please don't forget to use your other operating systems to <c>boot0</c>'s -configuration. -</impo> - -<pre caption="Installing and setting up boot0"> -# <i>emerge boot0</i> -<comment>(Leave the chroot environment)</comment> -# <i>exit</i> -<comment>(Issued from outside the chroot)</comment> -# <i>fdisk -B -b /mnt/gentoo/boot/boot0 /dev/adX</i> -# <i>chroot /mnt/gentoo /bin/bash</i> -# <i>disklabel -B adXsY</i> -</pre> - -<p> -If you need additional information on setting up <c>boot0</c>, please consult -<uri -link="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot.html">chapter -12</uri> of the FreeBSD handbook. -</p> - <p> Now would be a good time to set a password for the <c>root</c> user and to add another user account for your day-to-day work. @@ -439,8 +654,43 @@ <pre caption="Changing the root password and adding a new user"> # <i>passwd</i> -<comment>(If you need help in adding a user please consult the FreeBSD handbook).</comment> # <i>adduser</i> +Username: <i>fred</i> +Full Name: <i>Fred Smith</i> +<comment>(Accepting the default here, just hit Enter.)</comment> +Uid (Leave empty for default): +<comment>(OK to accept the default here as well; hit Enter.)</comment> +Login group [fred]: +<comment>(Enter your groups here, space separated. They must exist.)</comment> +Login group is fred. Invite fred into other groups? []: wheel portage +<comment>(OK to accept the default here, hit Enter)</comment> +Login class [default]: +<comment>(Somewhat of a personal preference. Make sure the shell exists in /etc/shells)</comment> +Shell (sh bash tcsh csh esh ksh zsh sash nologin) [sh] <i>bash</i> +<comment>(OK to accept the default here, hit Enter for all these)</comment> +User password-based authentication [yes] +Use an empty password (yes/no) [no]: +Use a random password? (yes/no) [no]: +Enter password: <i>password goes here</i> +Enter password again: <i>retype it</i> +<comment>(OK to accept the default here, hit Enter)</comment> +Lock out the account after creation? [no]: +Username : fred +Password : ***** +Full Name : Fred Smith +<comment>(This will vary)</comment> +Uid : 1002 +Class : +Groups : fred wheel portage +Home : /home/fred +Shell : /bin/bash +Locked : no +<comment>(Confirm the information is correct)</comment> +OK? (yes/no): <i>yes</i> +adduser: INFO: Sucessfully added (fred) to the user database +Add another user? (yes/no): <i>no</i> +Goodbye! +# </pre> <p> -- [email protected] mailing list
