In the current superadduser script it sets the variable GGID equal to "-g $GID" then tries to use that variable in the line (104): chown $LOGIN:$GGID $HME A chown with that variable for the group does not work. So the chown call doesnt work here and you get an error *[root@sc.am:root] superadduser Login name for new user []: hipwr User id for hipwr [ defaults to next available]: Initial group for hipwr [users]: Additional groups for hipwr (seperated with commas, no spaces) []: hipwr's home directory [/home/hipwr]: hipwr's shell [/bin/bash]: hipwr's account expiry date (YYYY-MM-DD) []: OK, I'm about to make a new account. Here's what you entered so far: New login name: hipwr New UID: [Next available] Initial group: users Additional groups: [none] Home directory: /home/hipwr Shell: /bin/bash Expiry date: [no expiration] This is it... if you want to bail out, hit Control-C. Otherwise, press ENTER to go ahead and make the account. Making new account... chown: `hipwr:-g': invalid group Changing the user information for hipwr Enter the new value, or press ENTER for the default Full Name []: Room Number []: Work Phone []: Home Phone []: Other []: New UNIX password: BAD PASSWORD: it is based on a dictionary word Retype new UNIX password: Done... *[root@sc.am:root]
I've committed a fix -- not had the time to test it properly as I'm out travelling, so please test it for me and reopen the bug if it persists. Thanks a bundle!