bad group name since version 1.31

knothje

Verified User
Joined
Nov 22, 2006
Messages
34
Hello All,

I have a problem, i have update directadmin to version 1.31 and now every time i create a new user on the system and reset the httpd i get the following error:

httpd: bad group name [user]

Can someone tell me how i can fix this?

Kind Regards,

Alexander
 
Hello,

Which OS is this?
DA assumes that the user creation program (eg: "useradd" or "pw useradd") creates the groups as well. DirectAdmin does not add groups itself.

If the system program isn't creating the group, then you can create:

/usr/local/directadmin/scripts/custom/user_create_post.sh

to have something like:
Code:
#!/bin/sh
groupadd $username
exit 0;
with the appropriate group adding command for your particular OS, then chmod the user_create_post.sh 755.

John
 
Hello John,

Thanx! This seems to be working. This problem is solved.

Alexander
 
Back
Top