PDA

View Full Version : Problem with removing user from group


LiSTiC
08-05-2007, 11:03 AM
Hey there

I have a problem with removing users from a group they are already in
[R] SITE USERS =iND
[R] 200- Name Group Flags Home
[R] 200- sitebot iND 31


[R] SITE CHGRP sitebot iND
[R] 200- User 'sitebot' has been successfully added to 'iND' group.


gives the same result as:

[R] SITE CHGRP sitebot iND SiTEOPS
[R] 200- User 'sitebot' has been successfully added to 'iND' group.
[R] 200- User 'sitebot' has been successfully added to 'SiTEOPS' group.
[R] 200 CHGRP Command successful.

I'm probably missing something, but I just can't seem to find anything wrong with my settings. Anyone have any idea what I am doing wrong?

thanks in advance :)

Yil
08-08-2007, 09:54 AM
Hmm. That should work, and a quick test locally shows mine working correctly.

There are several things to verify.

1) Examine the actual userfile to see what the "groups" line says.

2) Examine etc/GroupIdTable to verify group 0 exists (ioFTPD by default) and that iND only appears once and isn't group 0 :)

Using your example above does "site chgrp sitebot SiTEOPS" remove the user from the group?

LiSTiC
08-08-2007, 12:06 PM
Well it appears to be working again, dont really know what the problem was.

I checked the GroupIdTable and the user file, which both looked "normal", after that I did the "SITE CHGRP sitebot iND SiTEOPS" command and it worked.

Thanks :)