PDA

View Full Version : setting up a irc shell


babawillis
06-28-2005, 13:22
stupid queestion but need sugjestion
whats the best configurations to set up a ircd shell on my vds do i give user group or just domain and what to set plesk up like :nuts:

mikron15
06-28-2005, 14:11
I am not sure how plesk works, but if you are creating a shell acct just for shell use only and not hosting purpose then you don't need to create an acct in Plesk for that user.
Just in ssh prompt as root, type:
adduser <username>
passwd <username>

voila, his/her acct is ready for use

babawillis
06-28-2005, 18:57
thankyou for your quick reply in that case how do i alocate a ip for that user that will work for that shell :help:

mikron15
06-28-2005, 23:31
Its not that easy, it involves setting some rules for iptables. I never attempted doing that, probably some1 else have a success at it?

chandro
11-23-2005, 22:23
i get some errors on irc stuff on my VDS later i give more info:

DarkSypher
11-27-2005, 17:02
I'll give you a nudge in the right direction.

First you have to block everything by default for that IP, or afterwards as shown below:

iptables -A OUTPUT -m owner --uid-owner [ACCOUNT NAME] --uid-owner nobody -s 205.134.230.** --dport 1:65526 -j ACCEPT
iptables -A OUTPUT -s 205.134.230.** -j DROP

I added the additional --uid-owner to nobody so Apache would still work, but it's not required.

If you still don't understand it, Google it :)

chandro
11-30-2005, 15:49
i preffer to setup the ircd account by myself, or give to my client an IP just that, not ip tables or something :D

bye