PDA

View Full Version : adduser adds to NoGroup


Mouton
09-02-2004, 11:49 AM
Seems kinda intermitent... Seems to work fine in some cases, not in others.

When I try to use site adduser, using a siteop account, or the sitebot account that i added to the Trial group, the added user has NoGroup...

Same ioFTPD install adds correctly for gadmins.
Didn't do much tests to find the exact cause of this. Will probably do at some point.

darkone
09-02-2004, 12:28 PM
If I remember it correctly, it adds to first admin group of user by default. If user doesn't have admin groups set, then it adds to NoGroup.

Mouton
09-09-2004, 10:09 PM
True.
Could you change that behaviour to use 1st admingroup and if none is found, the 1st group of the user ?
That would allow to have something like a default group for adduser.

Mouton
09-09-2004, 10:11 PM
Oh, and while you're at it, if you could exclude the group ... line of default.user to be used on gadduser and on adduser from user with an admingroups, that would make many ppl happy.