cvs commit: src/usr.sbin/adduser adduser.sh
Mike Makonnen
mtm at FreeBSD.org
Thu Apr 12 08:17:58 UTC 2007
mtm 2007-04-12 08:17:56 UTC
FreeBSD src repository
Modified files:
usr.sbin/adduser adduser.sh
Log:
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
Revision Changes Path
1.30 +2 -7 src/usr.sbin/adduser/adduser.sh
More information about the cvs-src
mailing list