GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
BSDCONFIG(8) FreeBSD System Manager's Manual BSDCONFIG(8)

bsdconfig
system configuration utility

bsdconfig [-h]

bsdconfig command [-h]

bsdconfig [OPTIONS] [command [OPTIONS]]

bsdconfig is used to set up many system configuration settings, both for new systems, as well as changing configuration settings of existing systems.

bsdconfig optionally takes a command as an argument. If invoked with no arguments, it will bring up an interactive menu listing the available modules.

The following options are available:

Provide lots of debugging info on standard-out when running.
file
Send debugging info to file. If file begins with a plus-sign debug info is sent to both standard-out and file (minus the leading plus).
file
Load file as script and then exit. If multiple occurrences, program will only exit after last occurrence. If file is a single dash (‘-’), bsdconfig reads from standard input.
Print usage statement and exit.
Secure X11 mode (implies -X). As root, always prompt-for and validate sudo(8) username/password before starting.
Use Xdialog(1) in place of dialog(1).

The following commands (sorted alphabetically) are currently included in the base bsdconfig program, with more to be added soon. Other commands can be added, as detailed below in the ADDING COMMANDS section, and once added, will appear in the master menu as well as in the -h listing.
Utilities to customize the behavior of the system console.
Shortcut to the Default Router/Gateway menu under networking.
Manage disk partitions and/or labels. Executes sade(8).
Executes the bsdinstall docsinstall sub-utility to allow installation/re-installation of the FreeBSD Documentation set(s).
Generate a graphviz dot(1) language file (printed on stdout) visualizing the bsdconfig menu, include, and shortcut structure relationships. See “bsdconfig dot -h” for more details.
Shortcut to the Add Groups menu under groupmgmt.
Shortcut to the Delete Groups menu under groupmgmt.
Shortcut to the Edit/View Groups menu under groupmgmt.
Utilities to Add/Change/View/Delete Group Accounts.
Shortcut to the Hostname/Domain menu under networking.
Shortcut to the kern.securelevel menu under security.
Utilities for configuring, exploring, and enabling console mouse support.
Shortcut to the Disable menu under mouse.
Shortcut to the Enable menu under mouse.
Shortcut to the Flags menu under mouse.
Shortcut to the Port menu under mouse.
Shortcut to the Type menu under mouse.
Shortcut to the DNS Nameservers menu under networking.
Shortcut to the Network Interfaces menu under networking.
Utilities to set/change Hostname/Domain, Network Interfaces, Wireless Network, Default Router/Gateway, and DNS Nameservers.
Browse, install, uninstall, or re-install packaged software.
Set the system administrator (root) password.
Configure various system security settings.
Configure various aspects of system startup.
Shortcut to the Miscellaneous Startup Services menu under startup.
Shortcut to the Add New menu under the View/Edit Startup Configuration menu (startup_rcconf) of startup.
Shortcut to the View/Edit Startup Configuration menu under startup.
Shortcut to the Delete menu under the View/Edit Startup Configuration menu (startup_rcconf) of startup.
Shortcut to the Toggle Startup Services menu under startup.
Shortcut to the Font menu under console.
Shortcut to the Keymap menu under console.
Shortcut to the Repeat menu under console.
Shortcut to the Saver menu under console.
Shortcut to the Screenmap menu under console.
Shortcut to the Ttys menu under console.
Set the regional timezone of the local machine.
Edit the ttys(5) database with your favorite editor.
Shortcut to the Add Users menu under usermgmt.
Shortcut to the Delete Users menu under usermgmt.
Shortcut to the Edit/View Users menu under usermgmt.
Utilities to Add/Edit/View/Delete User Accounts.
Shortcut to the Wireless Networks menu under networking.

i18n features are built into bsdconfig and language-specific translation files will be added as they become available. In the absence of language-specific translation files, the default (en_US.ISO8859-1) files will be used.

To be documented later. Document menu_selection="command|*" syntax of INDEX files.

The following environment variables affect the execution of bsdconfig:
If LANG is set, messages and index information will be read from files named messages.$LANG and INDEX.$LANG and fall back to files named messages and INDEX if messages.$LANG and INDEX.$LANG do not exist. LANG takes precedence over LC_ALL.
If LC_ALL is set, messages and index information will be read from files named messages.$LC_ALL and INDEX.$LC_ALL and fall back to files named messages and INDEX if messages.$LC_ALL and INDEX.$LC_ALL do not exist.

/usr/share/examples/bsdconfig/bsdconfigrc can be copied to $HOME/.bsdconfigrc and customized as needed.

The bsdconfig utility exits 0 on success, and >0 if an error occurs.

bsdinstall(8)

bsdconfig first appeared in FreeBSD 9.2.

Ron McDowell
Devin Teske <dteske@FreeBSD.org>

The docsinstall and diskmgmt modules call bsdinstall. Bugs found in these modules should be considered those of bsdinstall, not bsdconfig.
April 12, 2020 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.