freebsd-skq/usr.sbin/bsdconfig
dteske f846b41a55 bsdconfig: Fix a bug when editing users
The usermgmt API was stomping on a global ($user_gid to be specific)
so things would appear to work fine until you tried to make a second
pass into the API with the now-tainted variable contents.

Fixed by localizing menu-specific contents as to not leak outside API.

PR:		bin/208774
Reported by:	Martin Waschbuesch <martin@waschbuesch.de>
MFC after:	1 week
X-MFC-to:	stable/11, stable/10
Sponsored by:	Smule, Inc.
2018-06-17 22:09:43 +00:00
..
console Fix long standing issue in bsdconfig's keymap selection 2017-05-25 18:16:17 +00:00
diskmgmt
docsinstall
dot
examples
include Add bsdconfig wifi' (aka wireless' or `wlan') module 2016-06-16 21:14:25 +00:00
includes
mouse
networking Update several more URLs 2017-10-29 08:17:03 +00:00
packages
password
security
share sysrc.subr: Fix a comment for accuracy 2018-06-17 20:32:43 +00:00
startup Remove SVR4 (System V Release 4) binary compatibility support. 2017-02-28 05:14:42 +00:00
timezone
ttys
usermgmt bsdconfig: Fix a bug when editing users 2018-06-17 22:09:43 +00:00
bsdconfig Utilize new `-v var_to_set' of f_snprintf() 2016-02-01 00:54:26 +00:00
bsdconfig.8 Use full month in dpv(3), figpar(3), and bsdconfig(8) manuals 2018-03-14 19:09:06 +00:00
Makefile bsdconfig: Make examples optional 2018-06-17 21:09:21 +00:00
Makefile.depend
USAGE