Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
User ONLY for ssh tunneling???
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
cazort
Guru
Guru


Joined: 19 Sep 2004
Posts: 343
Location: Lancaster, PA

PostPosted: Thu Oct 21, 2004 6:10 pm    Post subject: User ONLY for ssh tunneling??? Reply with quote

I want to create a user that can login via ssh to tunnel an ODBC connection to mysql over the ssh connection. I've got this part of it working. The problem is, I don't want the user to have the ability to do anything else on my system--not access any port other than MySQL's ODBC, not read files in the filesystem, and definitely not execute commands.

How can I do this? I have been poking with this and reading man pages and webpages for quite some time and can't get a good straight answer.[/b]
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Thu Oct 21, 2004 6:11 pm    Post subject: Reply with quote

Make their shell /bin/false maybe?
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
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