Lock user into one directory?
From: Sebastian Schack (sschack@ki.tng.de)
Date: 04/21/03
- Previous message: Eric Hanchrow: "Re: One-Time Password system"
- Next in thread: Armin Krawinkel: "Re: Lock user into one directory?"
- Reply: Armin Krawinkel: "Re: Lock user into one directory?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Sebastian Schack <sschack@ki.tng.de> Date: Mon, 21 Apr 2003 23:42:43 +0200
Hi everybody.
First of all: I'm pretty new to SSH so please excuse me if my question
is a FAQ - but I didn't find anything that could really help me via
google (maybe I searched with the wrong words?).
I set up an SSH demon and an DNS entry. By now I'm able to ping my own
computer through this DNS entry and I'm even able to establish an ssh
connection from a friend's computer to mine.
Since I'm running a small FTP server for my LAN at home I have several
users created and they all have their own home directory as
upload-folder for FTP.
Now I want to lock some specific users into this home-directoy when they
connect via SSH.
By now every user is able to see everything on my HDD.
I want something like this:
$user@$computer: ssh mydns.homelinux.org
$user@mydns.homelinux.org's password:
$user@mycomputer:~> cd ..
$user@mycomputer:~> SORRY, PERMISSION DENIED.
So /some/ /specfic/ users should not be allowed to gain access to
anything higher than their own home-directory.
I think this should somehow be possible :)
Thanks in advance,
Sebastian
-- "I'm starting with the man in the mirror, I'm asking him to change his ways, And no message could have been any clearer, If you wanna make the world a better place, Take a look at yourself, and then make a change!" - Michael Jackson
- Previous message: Eric Hanchrow: "Re: One-Time Password system"
- Next in thread: Armin Krawinkel: "Re: Lock user into one directory?"
- Reply: Armin Krawinkel: "Re: Lock user into one directory?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|