View Full Version : Adding new users to groups makes users get group settings?
jahknee
03-16-2004, 02:29 PM
I have a question about addings users to groups. When i add a new user to a group the user doesn't get the group's settings. And i think this is weird. Isn't that the whole purpose with groups, not having to change settings for every single user?
Would be really sweet if i could for example make the group "friends" having leech ratio and when adding new users them also getting leech. As it is today i have to fix all those things after creating the users ... Seems silly to me!
Anyone else who agrees?
If this is a "this will never be added, it has to be scripted" then my question is, are there any such scripts?
wooolF[RM]
03-16-2004, 03:42 PM
I see ex serv-u/g6 user here... my first thought when I changed from that to ioFTPD was the same...
u setup groups and then all added users gets same perms/flags as the group... but nono, ioFTPD have its own opinion on it...
jahknee
03-16-2004, 03:53 PM
yeah, used serv-u until now. very stable ftp server but it does nothing more. but i sure miss the groups in serv-u, not having to make the same setting over and over again. :( and i really can't see a reason why it shouldn't work like that, more the opposite. :mad:
Zer0Racer
03-16-2004, 04:00 PM
To answer the question in topic.. Yes, new users in groups get group settings, but there is only one - groupvfsfile.
All other settings are set per user. Changing user settings on add can easily be scripted in FlashFXP.
Noob note: press F7 to open editor for Custom Commands. If you already imported the command set for ioftpd, browse to ioFTPD, Add/Delete/Rename then press New Cmd.
Command Name: Add Friend
SITE GADDUSER friends %d[User:] %d[Pass:] %d[Ident@IP:]
SITE CHANGE %1 RATIO 0
Now you have your own custom command to use when adding friends. And you can of course make more changes after the ones above, ie. setting flags, changing tagline (to mess with your friends), setting homedir, number of logins etc. etc.
SITE GADDUSER friends %d[User:] %d[Pass:] %d[Ident@IP:]
SITE CHANGE %1 RATIO 0 0
SITE CHANGE %1 LOGINS 3 FTP
SITE CHANGE %1 TAGLINE I'm jahknee's *****
You probably get it by now.
jahknee
03-16-2004, 04:35 PM
ok, i suppose that helps a bit.
but the question still remains, why? Why add vfs but not for example ratio? still don't get it. :rolleyes:
Mouton
03-16-2004, 05:35 PM
maybe because ur using beta software ?
jahknee
03-16-2004, 05:53 PM
not sure this is because it's beta. wouldn't have taken that much longer to throw in support for ratios aswell while adding vfs. this is such a basic feature that it would've been added by now, atleast that's what i think.
darkone
03-26-2004, 04:05 PM
I will consider this, once I'm doing next rewrite/cleanup related to this.
Now that users & groups are cached on memory, having such settings should not be an issue anymore. (it used to be, when they weren't memory cached; access was too slow)
wooolF[RM]
03-26-2004, 05:32 PM
finally, that will make life much easier for new users who just tryin' to convert from serv-u/u name it to ioFTPD... more users understand how it works (and get it working instead of just saying "fsck that, it's gay") means more profit :)
Go d1 =)
jahknee
03-26-2004, 07:10 PM
thanks alot Darkone! =)
Mouton
03-27-2004, 10:18 AM
For those unpatient ones, a simple .itcl file trigerred on post SITE and that reacts to adduser and gadduser would do.
And maybe even a new SITE command to specify group settings.
SITE GRPCHANGE somegroup RATIO 0
SITE GRPCHANGE somegroup LOGINS 2 FTP
SITE GRPCHANGE somegroup TAGLINE I'm new in somegroup!
Those commands would write the settings in say ioFTPD\groups\Default.<GroupID>
And on SITE [G]ADDUSER ..., the itcl would read those settings for the right group, and apply them to the added user.
marico1251
08-16-2005, 09:06 AM
hey im new, could someone PLEASE help me with finding on how to download by uploading PLEASE
marico you should make a new thread for a new topic.
are you talking about ratio?
site change USERNAME ratio 1
will make it so if a user uploads 1 BYTE they get 1 BYTE of download....
otherwise i don't understand what you mean...
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.