Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No connection for shell
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Forse
Apprentice
Apprentice


Joined: 26 Dec 2002
Posts: 260
Location: /dev/random

PostPosted: Tue Mar 04, 2003 11:46 am    Post subject: No connection for shell Reply with quote

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
View user's profile Send private message
wolf31o2
Retired Dev
Retired Dev


Joined: 31 Jan 2003
Posts: 628
Location: Mountain View, CA

PostPosted: Tue Mar 04, 2003 11:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum