]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
There are a couple of bugs in rev. 1.27:
authormtm <mtm@FreeBSD.org>
Thu, 12 Apr 2007 08:17:56 +0000 (08:17 +0000)
committermtm <mtm@FreeBSD.org>
Thu, 12 Apr 2007 08:17:56 +0000 (08:17 +0000)
commit8924b2b905b2e7e01d630caeeecdafb74abf8718
tree844705728b62c9d3a55f43b0daf3cf41217fd5e2
parent672487645c1eb1c5f1264f43264a9d0d2008bbc0
There are a couple of bugs in rev. 1.27:
1) The man page should describe the code, not the other way around.
2) Internal variables should not be documented or exposed, except in
   controlled circumstances (i.e. - That's what the -C flag is for).
   The variable should have been saved to the config file in save_config().
3) The next available userid doesn't get automatically updated. The
   end-result is the same (user gets added with the correct uid),
   but in an interactive session the default uid doesn't get updated in
   the display.

So,

o Use the uidstart variable instead of uuid (bug #3)
o Actually save the variable to adduser.conf (bug #2)
o (bug #1 to be fixed in an upcomming commit to adduser.conf.5)

MFC After: 2 weeks
usr.sbin/adduser/adduser.sh