|
Prerequisites: You must have
already
installed the Bash shell
1. Boot up FreeBSD
Log in as the "root" user:
# Install the Bash shell via the "FreeBSD Ports" method
cd /usr/ports/shells/bash
make install clean
# Start the Bash shell
/usr/local/bin/bash
2.
Type:
vipw
Edit the "root" line changing /bin/sh to:
/usr/local/bin/bash
(Note: Use your arrow keys to move around, the letter
"x" deletes and "i" puts you into insert edit mode)
Save and exit by hitting:
ESC
ESC :wq
<Press Enter>

3. Type:
adduser
Fill out the fields as desired. Make sure you
invite yourself to the
wheel
group if you ever want to become root!

|