Rebuilding FreeBSD!

Polytropon freebsd at edvax.de
Thu Dec 31 04:29:26 UTC 2015


On Wed, 30 Dec 2015 22:17:34 -0600, Yass Amed wrote:
> Is it possible to rebuild FreeBSD with custom settings such as different
> shell?

It is possible, but not suggested. FreeBSD comes with two stock
shells: /bin/sh is the default scripting shell that many system
scripts rely on, and /bin/csh is the default interactive shell.
Replacing the system's scripting shell is not a good idea. If
you want a different dialog shell, for example zsh or bash or
fish, just install it and make it your user's new shell (use
the command "chsh" to do so). You can also make it the default
shell for newly added users.

Just to add or replace a shell - it's probably not a good idea
to rebuild the whole system. Also keep in mind that the port
infrastructure and many ported 3rd party applications rely on
the presence of the system's scripting shell.

However, FreeBSD is open source, and you can get all the parts
needed: the /usr/src tree for the OS, and /usr/ports (and the
corresponding source files) for all the 3rd party software. You
can the go on and start replacing shells... ;-)

Honestly: FreeBSD is highly configurable. For the most things
you'd probably like to customize, rebuilding the system is not
required. Shells are just one example.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list