View previous topic :: View next topic |
Author |
Message |
Forse Apprentice
Joined: 26 Dec 2002 Posts: 260 Location: /dev/random
|
Posted: Tue Mar 04, 2003 11:46 am Post subject: No connection for shell |
|
|
Hi. Topic might be a little confusing. I want to disable internet connection for a user, so he can't ping or do anything. My box is connected to internet and I want users to be able to login from internet using ssh, but once they've login they can't use internet. _________________ [ My sites ]: UnixTutorials : AniFIND : AnimeYume |
|
Back to top |
|
|
wolf31o2 Retired Dev
Joined: 31 Jan 2003 Posts: 628 Location: Mountain View, CA
|
Posted: Tue Mar 04, 2003 11:08 pm Post subject: |
|
|
This is fairly easy if you are using the gentoo-sources for your kernel, as it has grsecurity built-in. What you would need to do is create a special group which you do not want to allow internet access. You then add this GID to the kernel configuration under the group socket restrictions. Add the user to that group, and wham! No internet access. |
|
Back to top |
|
|
|