need a little help

jdshells

New member
I am wanting to know how to set the FD limit on different account types on 1 shell server. I'm not suer if anyone can help me on this, but here it goes. Say I have one shell server and I want to setup four accounts on that server. The first account needs a user limit of 400 and the second needs 550 and third needs 750 and the four needs a limit of 1024+. How would I set that up?? Any help would be greatly appreicated.
 
What operating system? Freebsd has a awesome system when it comes to limiting users. You could try this

su USER
ulimit -n 400
exit


and then login to the account regular and run

ulimit -n

and see what it returns. This is on linux btw.
 
Does FreeBSD and Linux have different commands for that? I'm not sure what OS we will be running. Most likly FreeBSD 4.9 or Stable Production Release at that time. Thanks for the tip. It's a big helper.
 
I would strongly recommend FreeBSD 4.7 or higher for shell hosting. RedHat and other distros have caused some problems for me in the past when I used to shell host. (This was 3 years ago when my server cost $389 a month from Globix.net)

I'll look to see if I have any scripts saved from then Brent and send them over if I find them.
 
Vovex Technology said:
I would strongly recommend FreeBSD 4.7 or higher for shell hosting. RedHat and other distros have caused some problems for me in the past when I used to shell host. (This was 3 years ago when my server cost $389 a month from Globix.net)

I'll look to see if I have any scripts saved from then Brent and send them over if I find them.
Thank you Jon. Anything is better than nothing. ;)

TheLinuxGuy said:
Well, freebsd is a little different on things. But overall its really secure.

http://www.freebsd.org/doc/en_US.IS...s-limiting.html
Thank you also for all the help you have giving me. :)
 
Back
Top