xref: /freebsd/usr.sbin/bsdconfig/bsdconfig.8 (revision 4d36343e3a6a93f2c5f6b92c1c9cd8a1535795bd)
1641a6cfbSDevin Teske.\" Copyright (c) 2012 Ron McDowell
2641a6cfbSDevin Teske.\" Copyright (c) 2012 Devin Teske
3641a6cfbSDevin Teske.\" All rights reserved.
4641a6cfbSDevin Teske.\"
5641a6cfbSDevin Teske.\" Redistribution and use in source and binary forms, with or without
6641a6cfbSDevin Teske.\" modification, are permitted provided that the following conditions
7641a6cfbSDevin Teske.\" are met:
8641a6cfbSDevin Teske.\" 1. Redistributions of source code must retain the above copyright
9641a6cfbSDevin Teske.\"    notice, this list of conditions and the following disclaimer.
10641a6cfbSDevin Teske.\" 2. Redistributions in binary form must reproduce the above copyright
11641a6cfbSDevin Teske.\"    notice, this list of conditions and the following disclaimer in the
12641a6cfbSDevin Teske.\"    documentation and/or other materials provided with the distribution.
13641a6cfbSDevin Teske.\"
14641a6cfbSDevin Teske.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15641a6cfbSDevin Teske.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16641a6cfbSDevin Teske.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17641a6cfbSDevin Teske.\" DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
18641a6cfbSDevin Teske.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19641a6cfbSDevin Teske.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20641a6cfbSDevin Teske.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21641a6cfbSDevin Teske.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
22641a6cfbSDevin Teske.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
23641a6cfbSDevin Teske.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24641a6cfbSDevin Teske.\" POSSIBILITY OF SUCH DAMAGE.
25641a6cfbSDevin Teske.\"
26641a6cfbSDevin Teske.\"            docsinstall
27641a6cfbSDevin Teske.\"            password
28641a6cfbSDevin Teske.\"            diskmgmt
29641a6cfbSDevin Teske.\"            usermgmt
30641a6cfbSDevin Teske.\"              useradd
31641a6cfbSDevin Teske.\"              useredit
32641a6cfbSDevin Teske.\"              userdel
33641a6cfbSDevin Teske.\"            groupmgmt
34641a6cfbSDevin Teske.\"              groupadd
35641a6cfbSDevin Teske.\"              groupedit
36641a6cfbSDevin Teske.\"              groupdel
37641a6cfbSDevin Teske.\"            console
38641a6cfbSDevin Teske.\"              syscons_font
39641a6cfbSDevin Teske.\"              syscons_keymap
40641a6cfbSDevin Teske.\"              syscons_repeat
41641a6cfbSDevin Teske.\"              syscons_saver
42641a6cfbSDevin Teske.\"              syscons_screenmap
43641a6cfbSDevin Teske.\"              syscons_ttys
44641a6cfbSDevin Teske.\"            timezone
45641a6cfbSDevin Teske.\"            mouse
46641a6cfbSDevin Teske.\"              mouse_enable
47641a6cfbSDevin Teske.\"              mouse_type
48641a6cfbSDevin Teske.\"              mouse_port
49641a6cfbSDevin Teske.\"              mouse_flags
50641a6cfbSDevin Teske.\"              mouse_disable
51641a6cfbSDevin Teske.\"            networking
52641a6cfbSDevin Teske.\"              defaultrouter
53641a6cfbSDevin Teske.\"              hostname
54641a6cfbSDevin Teske.\"              nameservers
55641a6cfbSDevin Teske.\"              netdev
56641a6cfbSDevin Teske.\"            security
57641a6cfbSDevin Teske.\"            ttys
58641a6cfbSDevin Teske.\"            [dot]
59641a6cfbSDevin Teske.\"
60641a6cfbSDevin Teske.\" $FreeBSD$
61641a6cfbSDevin Teske.\"
62641a6cfbSDevin Teske.Dd Mar 20, 2012
63641a6cfbSDevin Teske.Dt BSDCONFIG 8
64641a6cfbSDevin Teske.Os
65641a6cfbSDevin Teske.Sh NAME
66641a6cfbSDevin Teske.Nm bsdconfig
67641a6cfbSDevin Teske.Nd system configuration utility
68641a6cfbSDevin Teske.Sh SYNOPSIS
69641a6cfbSDevin Teske.Nm
70641a6cfbSDevin Teske.Op Fl h
71641a6cfbSDevin Teske.Nm
72641a6cfbSDevin Teske.Ar command
73641a6cfbSDevin Teske.Op Fl h
74641a6cfbSDevin Teske.Nm
75641a6cfbSDevin Teske.Op OPTIONS
76641a6cfbSDevin Teske.Op command Op OPTIONS
77641a6cfbSDevin Teske.Sh DESCRIPTION
78641a6cfbSDevin Teske.Nm
79641a6cfbSDevin Teskeis used to set up many system configuration settings, both for new systems, as
80641a6cfbSDevin Teskewell as changing configuration settings of existing systems.
81641a6cfbSDevin Teske.Pp
82641a6cfbSDevin Teske.Nm
83641a6cfbSDevin Tesketakes a command as an argument. If invoked with no arguments, it will bring up
84641a6cfbSDevin Teskea master menu listing the available commands.
85641a6cfbSDevin Teske.Pp
86641a6cfbSDevin TeskeThe following options are available:
87641a6cfbSDevin Teske.Bl -tag -width indent+
88641a6cfbSDevin Teske.It Fl h
89641a6cfbSDevin TeskePrint usage statement and exit.
90641a6cfbSDevin Teske.It Fl S
91641a6cfbSDevin TeskeSecure X11 mode
92641a6cfbSDevin Teske.Pq implies Fl X .
93641a6cfbSDevin TeskeAs root, always prompt-for and validate
94641a6cfbSDevin Teske.Xr sudo 8
95641a6cfbSDevin Teskeusername/password before starting.
96641a6cfbSDevin Teske.It Fl X
97641a6cfbSDevin TeskeUse
98641a6cfbSDevin Teske.Xr Xdialog 1
99641a6cfbSDevin Teskein place of
100641a6cfbSDevin Teske.Xr dialog 1 .
1018a664e6cSJoel Dahl.El
102641a6cfbSDevin Teske.Sh COMMANDS
103641a6cfbSDevin TeskeThe following commands
104641a6cfbSDevin Teske.Pq sorted alphabetically
105641a6cfbSDevin Teskeare currently included in the base
106641a6cfbSDevin Teske.Nm
107641a6cfbSDevin Teskeprogram, with more to be added soon.  Other commands can be added, as detailed
108641a6cfbSDevin Teskebelow in the
109641a6cfbSDevin Teske.Cm ADDING COMMANDS
110641a6cfbSDevin Teskesection, and once added, will appear in the master menu as well as in the
111641a6cfbSDevin Teske.Cm -h
112641a6cfbSDevin Teskelisting.
113641a6cfbSDevin Teske.Bl -tag -width ".Cm syscons_screenmap"
114641a6cfbSDevin Teske.It Cm console
115641a6cfbSDevin TeskeUtilities to customize the behavior of the system console.
116641a6cfbSDevin Teske.It Cm defaultrouter
117641a6cfbSDevin TeskeShortcut to the Default Router/Gateway menu under networking.
118641a6cfbSDevin Teske.It Cm diskmgmt
119641a6cfbSDevin TeskeManage disk partitions and/or labels. Executes
120641a6cfbSDevin Teske.Xr sade 8 .
121641a6cfbSDevin Teske.It Cm docsinstall
122641a6cfbSDevin TeskeExecutes the
123641a6cfbSDevin Teske.Cm bsdinstall docsinstall
124641a6cfbSDevin Teskesub-utility to allow installation/re-installation of the FreeBSD Documentation
125641a6cfbSDevin Teskeset(s).
126641a6cfbSDevin Teske.It Cm dot
127641a6cfbSDevin TeskeGenerate a graphviz
128641a6cfbSDevin Teske.Xr dot 1
129641a6cfbSDevin Teskelanguage file
130641a6cfbSDevin Teske.Pq printed on stdout
131641a6cfbSDevin Teskevisualizing the
132*4d36343eSJoel Dahl.Nm
133641a6cfbSDevin Teskemenu, include, and shortcut structure and relationships.  See
134641a6cfbSDevin Teske.Dq bsdconfig dot -h
135641a6cfbSDevin Teskefor more details.
136641a6cfbSDevin Teske.It Cm groupadd
137641a6cfbSDevin TeskeShortcut to the Add Groups menu under groupmgmt.
138641a6cfbSDevin Teske.It Cm groupdel
139641a6cfbSDevin TeskeShortcut to the Delete Groups menu under groupmgmt.
140641a6cfbSDevin Teske.It Cm groupedit
141641a6cfbSDevin TeskeShortcut to the Edit/View Groups menu under groupmgmt.
142641a6cfbSDevin Teske.It Cm groupmgmt
143641a6cfbSDevin TeskeUtilities to Add/Change/View/Delete Group Accounts.
144641a6cfbSDevin Teske.It Cm hostname
145641a6cfbSDevin TeskeShortcut to the Hostname/Domain menu under networking.
146641a6cfbSDevin Teske.It Cm mouse
147641a6cfbSDevin TeskeUtilities for configuring, exploring, and enabling console mouse support.
148641a6cfbSDevin Teske.It Cm mouse_disable
149641a6cfbSDevin TeskeShortcut to the Disable menu under mouse.
150641a6cfbSDevin Teske.It Cm mouse_enable
151641a6cfbSDevin TeskeShortcut to the Enable menu under mouse.
152641a6cfbSDevin Teske.It Cm mouse_flags
153641a6cfbSDevin TeskeShortcut to the Flags menu under mouse.
154641a6cfbSDevin Teske.It Cm mouse_port
155641a6cfbSDevin TeskeShortcut to the Port menu under mouse.
156641a6cfbSDevin Teske.It Cm mouse_type
157641a6cfbSDevin TeskeShortcut to the Type menu under mouse.
158641a6cfbSDevin Teske.It Cm nameservers
159641a6cfbSDevin TeskeShortcut to the DNS Nameservers menu under networking.
160641a6cfbSDevin Teske.It Cm netdev
161641a6cfbSDevin TeskeShortcut to the Network Interfaces menu under networking.
162641a6cfbSDevin Teske.It Cm networking
163641a6cfbSDevin TeskeUtilities to set/change Hostname/Domain, Network Interfaces, Default
164641a6cfbSDevin TeskeRouter/Gateway, and DNS Nameservers.
165641a6cfbSDevin Teske.It Cm password
166641a6cfbSDevin TeskeSet the system administrator
167641a6cfbSDevin Teske.Pq root
168641a6cfbSDevin Teskepassword.
169641a6cfbSDevin Teske.It Cm security
170641a6cfbSDevin TeskeConfigure various system security settings.
171641a6cfbSDevin Teske.It Cm syscons_font
172641a6cfbSDevin TeskeShortcut to the Font menu under console.
173641a6cfbSDevin Teske.It Cm syscons_keymap
174641a6cfbSDevin TeskeShortcut to the Keymap menu under console.
175641a6cfbSDevin Teske.It Cm syscons_repeat
176641a6cfbSDevin TeskeShortcut to the Repeat menu under console.
177641a6cfbSDevin Teske.It Cm syscons_saver
178641a6cfbSDevin TeskeShortcut to the Saver menu under console.
179641a6cfbSDevin Teske.It Cm syscons_screenmap
180641a6cfbSDevin TeskeShortcut to the Screenmap menu under console.
181641a6cfbSDevin Teske.It Cm syscons_ttys
182641a6cfbSDevin TeskeShortcut to the Ttys menu under console.
183641a6cfbSDevin Teske.It Cm timezone
184641a6cfbSDevin TeskeSet the regional timezone of the local machine.
185641a6cfbSDevin Teske.It Cm useradd
186641a6cfbSDevin TeskeShortcut to the Add Users menu under usermgmt.
187641a6cfbSDevin Teske.It Cm userdel
188641a6cfbSDevin TeskeShortcut to the Delete Users menu under usermgmt.
189641a6cfbSDevin Teske.It Cm useredit
190641a6cfbSDevin TeskeShortcut to the Edit/View Users menu under usermgmt.
191641a6cfbSDevin Teske.It Cm usermgmt
192641a6cfbSDevin TeskeUtilities to Add/Edit/View/Delete User Accounts.
1938a664e6cSJoel Dahl.El
194641a6cfbSDevin Teske.Sh INTERNATIONALIZATION
195641a6cfbSDevin Teskei18n features are built into
196641a6cfbSDevin Teske.Nm
197641a6cfbSDevin Teskeand language-specific translation files will be added as they become available.
198641a6cfbSDevin TeskeIn the absence of language-specific translation files, the default
199641a6cfbSDevin Teske.Pq en_US.ISO8859-1
200641a6cfbSDevin Teskefiles will be used.
201641a6cfbSDevin Teske.Sh ADDING COMMANDS
202641a6cfbSDevin TeskeTo be documented later. Document menu_selection="command|*" syntax of INDEX
203641a6cfbSDevin Teskefiles.
204641a6cfbSDevin Teske.Sh ENVIRONMENT VARIABLES
205641a6cfbSDevin TeskeThe following environment variables affect the execution of
206641a6cfbSDevin Teske.Nm :
207641a6cfbSDevin Teske.Bl -tag -width ".Ev LC_ALL"
208641a6cfbSDevin Teske.It Ev LANG
209641a6cfbSDevin TeskeIf LANG is set, messages and index information will be read from files named
210641a6cfbSDevin Teskemessages.$LANG and INDEX.$LANG and fall back to files named messages and INDEX if
211641a6cfbSDevin Teskemessages.$LANG and INDEX.$LANG do not exist.  LANG takes precedence over LC_ALL.
212641a6cfbSDevin Teske.It Ev LC_ALL
213641a6cfbSDevin TeskeIf LC_ALL is set, messages and index information will be read from files named
214641a6cfbSDevin Teskemessages.$LC_ALL and INDEX.$LC_ALL and fall back to files named messages and INDEX if
215641a6cfbSDevin Teskemessages.$LC_ALL and INDEX.$LC_ALL do not exist.
2168a664e6cSJoel Dahl.El
217641a6cfbSDevin Teske.Sh FILES
218641a6cfbSDevin Teske/usr/share/examples/bsdconfig/bsdconfigrc can be copied to $HOME/.bsdconfigrc and
219641a6cfbSDevin Teskecustomized as needed.
220641a6cfbSDevin Teske.Sh EXIT STATUS
221641a6cfbSDevin Teske.Ex -std
222641a6cfbSDevin Teske.Sh SEE ALSO
2238a664e6cSJoel Dahl.Xr host-setup 8 ,
2248a664e6cSJoel Dahl.Xr sade 8
225641a6cfbSDevin Teske.Sh HISTORY
226641a6cfbSDevin Teske.Nm
227641a6cfbSDevin Teskefirst appeared in
228641a6cfbSDevin Teske.Fx 10.0 .
229641a6cfbSDevin Teske.Sh AUTHORS
230641a6cfbSDevin Teske.An Ron McDowell Aq rcm@FuzzWad.ORG
231641a6cfbSDevin Teske.An Devin Teske Aq devinteske@hotmail.com
232641a6cfbSDevin Teske.Sh BUGS
233641a6cfbSDevin TeskeUndoubtedly.
234