Page 1 of 1
limit shell account to leaf ircd mode
Posted: Mon Sep 21, 2009 12:20 am
by ysar68
i need when i give an shell account in linux to limit the user to use only leaf mode ... and i mean if in compile he choose to use hub mode . my server to denied this option , how i can do it this ?
Re: limit shell account to leaf ircd mode
Posted: Mon Sep 21, 2009 5:17 pm
by Jobe
Sorry if I missunderstood but do you mean you want to make it so when the server links to your network, that server cant then have other servers link to it?
If so, check out the leaf option in the link blocks in example.conf and the documentation at
http://www.unrealircd.com/files/docs/un ... #linkblock
Re: limit shell account to leaf ircd mode
Posted: Mon Sep 21, 2009 6:48 pm
by ysar68
no i mean , when the user in the stage of ./Config , choose hub , i want to have a limitation to allow to compile only as leaf the unrealircd ..
i remember when i get in past a shell for ircd and i try to compile as hub i got back error is allowed leaf mode
this is limitation from the linux i think so line the users and processes
Re: limit shell account to leaf ircd mode
Posted: Mon Jul 12, 2010 7:31 am
by ysar68
i mean when i create account in my server one shell for user a200
when the user a200 download the unrealircd and going to compile is asking leaf or hub in one question of ./Config
so i wanna to limit the user if he choose hub the compile it will stop
Re: limit shell account to leaf ircd mode
Posted: Mon Jul 12, 2010 10:37 am
by Jobe
If you use the link block option "leaf" it wont matter at all whether they compile with hub enabled or not, they wont be able to link other servers as your server's link block for their server WONT allow it.
Re: limit shell account to leaf ircd mode
Posted: Mon Jul 12, 2010 12:46 pm
by ysar68
not this ...
i mean i have a dedicated machine you coming to me and you telling me give me one shell to install unrealircd
so when i give you the shell and you download you will execute ./config
so in this procedure when the config ask leaf or hub if you choose to be hub the server will compiled as hub
this i realy i need is a limitation you as a user when you choose hub in the procedure of compile it will stop with error and say hub is not allowed
i remember one shell i got in a company it is was saying leaf account 500 users 3 process
when i try to compile it as hub return me error for the hub and only compiled as leaf
this i wanna to do in my dedicated machine in the shells i am giving
Re: limit shell account to leaf ircd mode
Posted: Mon Jul 12, 2010 2:05 pm
by warg
I believe he wants to prevent his shell clients from compiling UnrealIRCd as a hub at all.
ysar68, you should ask that company how they did that. I can't imagine how.