Use this patch, as it fixes the value of uidstart to be the next
available uid, instead of the uid of the previously added user.
Scot
Index: adduser.sh
===
RCS file: /home/ncvs/src/usr.sbin/adduser/adduser.sh,v
retrieving revision 1.
Here's the requested changes to make it re'ask the question on
an invalid input.
I left the code in for the default answer, but commented out.
Scot
Index: adduser.sh
===
RCS file: /home/ncvs/src/usr.sbin/adduser/adduser.sh,v
retriev
The new adduser was not intended to be a feature-for-feature replacement of the
perl version. This version allows you to enter multiple accounts from a file, so
providing this type of functionality wasn't particularly important on my list of
things to do.
But, as long as someonle else is submitt
I noticed that adduser in 5.0, only allows you to add one user
in interactive mode. The previous version of adduser would ask
you if you wanted to add another user.
Attached is a patch which puts this feature back into adduser.
Scot
Index: adduser.sh