freebsd-nq/usr.sbin/bsdconfig
Devin Teske 389e494006 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 META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
docsinstall META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
dot META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
examples META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
include Add bsdconfig wifi' (aka wireless' or `wlan') module 2016-06-16 21:14:25 +00:00
includes META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
mouse META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
networking Update several more URLs 2017-10-29 08:17:03 +00:00
packages META MODE: These need object directories to handle staging. 2015-11-26 01:14:27 +00:00
password META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
security META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
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 META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
ttys META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
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 META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
USAGE