BSDCONFIG(8)
π BSDCONFIG(8) β the system configuration utility, but make it a group chat
okay so bestie, picture this: you're on a FreeBSD box and literally everything needs setting up. enter bsdconfig, the system manager's manual's own main character. she's a system configuration utility and she's here to help you set up so many system configuration settings β both for brand-new systems and for changing the config on systems you already have. glow-up for your whole machine, no cap. β¨
π¦ SYNOPSIS
bsdconfig [-h]
bsdconfig command [-h]
bsdconfig [OPTIONS] [command [OPTIONS]]
π DESCRIPTION
bsdconfig is used to set up many system configuration settings, both for new systems, as well as changing configuration settings of existing systems. (yes I said it twice, because she does both, she contains multitudes π
)
She optionally takes a command as an argument. And if you invoke her with no arguments at all? She brings up an interactive menu listing the available modules. it's giving "come in, sit down, let's fix your life" energy π«Ά
The following options are available:
-dβ Give lots of debugging info on standard-out while running. she's a talker π-Dfile β 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). best of both worlds, we love a dual-threat π-ffile β Load file as a script and then exit. If there are multiple occurrences, the program will only exit after the last occurrence. If file is a single dash (-),bsdconfigreads from standard input. stdin girlies rise πΈ-hβ Print usage statement and exit. the "help me help you" option π-Sβ Secure X11 mode (implies-X). As root, always prompt-for and validatesudo(8)(ports/security/sudo) username/password before starting. safety first, always π-Xβ UseXdialog(1)(ports/x11/xdialog) in place ofdialog(1). fancy GUI-flavored energy π¦
π COMMANDS
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. it's an open roster, bestie π«Ά
consoleβ Utilities to customize the behavior of the system console.defaultrouterβ Shortcut to the Default Router/Gateway menu under networking.diskmgmtβ Manage disk partitions and/or labels. Executessade(8).docsinstallβ Executes thebsdinstall docsinstallsub-utility to allow installation/re-installation of the FreeBSD Documentation set(s).dotβ Generate agraphvizdot(1)(ports/graphics/graphviz) language file (printed on stdout) visualizing thebsdconfigmenu, include, and shortcut structure relationships. See βbsdconfig dot -hβ for more details. literally a map of the whole vibe β¨groupaddβ Shortcut to the Add Groups menu undergroupmgmt.groupdelβ Shortcut to the Delete Groups menu undergroupmgmt.groupeditβ Shortcut to the Edit/View Groups menu undergroupmgmt.groupmgmtβ Utilities to Add/Change/View/Delete Group Accounts.hostnameβ Shortcut to the Hostname/Domain menu undernetworking.kern_securelevelβ Shortcut to thekern.securelevelmenu undersecurity.mouseβ Utilities for configuring, exploring, and enabling console mouse support. πmouse_disableβ Shortcut to the Disable menu undermouse.mouse_enableβ Shortcut to the Enable menu undermouse.mouse_flagsβ Shortcut to the Flags menu undermouse.mouse_portβ Shortcut to the Port menu undermouse.mouse_typeβ Shortcut to the Type menu undermouse.nameserversβ Shortcut to the DNS Nameservers menu undernetworking.netdevβ Shortcut to the Network Interfaces menu undernetworking.networkingβ Utilities to set/change Hostname/Domain, Network Interfaces, Wireless Network, Default Router/Gateway, and DNS Nameservers. the whole connectivity package πpackagesβ Browse, install, uninstall, or re-install packaged software.passwordβ Set the system administrator (root) password. go change it, bestie, it's been a while πsecurityβ Configure various system security settings.startupβ Configure various aspects of system startup.startup_miscβ Shortcut to the Miscellaneous Startup Services menu understartup.startup_rcaddβ Shortcut to the Add New menu under the View/Edit Startup Configuration menu (startup_rcconf) ofstartup.startup_rcconfβ Shortcut to the View/Edit Startup Configuration menu understartup.startup_rcdeleteβ Shortcut to the Delete menu under the View/Edit Startup Configuration menu (startup_rcconf) ofstartup.startup_rcvarβ Shortcut to the Toggle Startup Services menu understartup.syscons_fontβ Shortcut to the Font menu underconsole.syscons_keymapβ Shortcut to the Keymap menu underconsole.syscons_repeatβ Shortcut to the Repeat menu underconsole.syscons_saverβ Shortcut to the Saver menu underconsole.syscons_screenmapβ Shortcut to the Screenmap menu underconsole.syscons_ttysβ Shortcut to the Ttys menu underconsole.timezoneβ Set the regional timezone of the local machine.ttysβ Edit thettys(5)database with your favorite editor.useraddβ Shortcut to the Add Users menu underusermgmt.userdelβ Shortcut to the Delete Users menu underusermgmt.usereditβ Shortcut to the Edit/View Users menu underusermgmt.usermgmtβ Utilities to Add/Edit/View/Delete User Accounts.wirelessβ Shortcut to the Wireless Networks menu undernetworking.
π INTERNATIONALIZATION
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. multilingual queen π
π§ ADDING COMMANDS
To be documented later. Document menu_selection="command|*" syntax of INDEX files. (yes that's literally what it says, she said "later" and meant it π but the menu_selection="command|*" syntax of INDEX files is the thing to document, iykyk)
π ENVIRONMENT VARIABLES
The following environment variables affect the execution of bsdconfig:
LANGβ IfLANGis set, messages and index information will be read from files namedmessages.$LANGandINDEX.$LANGand fall back to files namedmessagesandINDEXifmessages.$LANGandINDEX.$LANGdo not exist.LANGtakes precedence overLC_ALL. she picks favorites, and it'sLANGπLC_ALLβ IfLC_ALLis set, messages and index information will be read from files namedmessages.$LC_ALLandINDEX.$LC_ALLand fall back to files namedmessagesandINDEXifmessages.$LC_ALLandINDEX.$LC_ALLdo not exist.
π FILES
/usr/share/examples/bsdconfig/bsdconfigrccan be copied to$HOME/.bsdconfigrcand customized as needed. copy-paste-and-personalize, the original DIY π«Ά
β EXIT STATUS
The bsdconfig utility exits 0 on success, and >0 if an error occurs. zero is the slay number, anything higher means something went sideways π
π SEE ALSO
πΈ HISTORY
bsdconfig first appeared in FreeBSD 9.2. an icon from way back β¨
π AUTHORS
- Ron McDowell
- Devin Teske
<dteske@FreeBSD.org>
π BUGS
The docsinstall and diskmgmt modules call bsdinstall. Bugs found in these modules should be considered those of bsdinstall, not bsdconfig. so if something's cursed in there, take it up with the other girl, not her π
fr fr, that's the whole page. now go configure something, bestie π¦
okay and one last thing β this whole ride is from the Debian edition, dated April 12, 2020, and it's the BSDCONFIG(8) page living in the System Manager's Manual. mwah, bye π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2012 Ron McDowell
- Copyright (c) 2012-2013 Devin Teske
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms