limit shell account to leaf ircd mode

These are old archives. They are kept for historic purposes only.
Post Reply
ysar68
Posts: 8
Joined: Thu Jun 17, 2004 6:09 am
Location: Athens , Greece
Contact:

limit shell account to leaf ircd mode

Post 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 ?
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: limit shell account to leaf ircd mode

Post 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
Your IP: Image
Your Country: Image
ysar68
Posts: 8
Joined: Thu Jun 17, 2004 6:09 am
Location: Athens , Greece
Contact:

Re: limit shell account to leaf ircd mode

Post 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
ysar68
Posts: 8
Joined: Thu Jun 17, 2004 6:09 am
Location: Athens , Greece
Contact:

Re: limit shell account to leaf ircd mode

Post 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
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: limit shell account to leaf ircd mode

Post 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.
Your IP: Image
Your Country: Image
ysar68
Posts: 8
Joined: Thu Jun 17, 2004 6:09 am
Location: Athens , Greece
Contact:

Re: limit shell account to leaf ircd mode

Post 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
warg
Posts: 63
Joined: Mon Jul 12, 2010 8:12 am

Re: limit shell account to leaf ircd mode

Post 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.
"A foolish consistency is the hobgoblin of little minds, adored by little statesmen and philosophers and divines." — Ralph Waldo Emerson
Post Reply