Re: Lock user into one directory?
From: Armin Krawinkel (geschrei@gmx.at)
Date: 04/22/03
- Next message: William Hooper: "Re: Move 'Saved Sessions' from one machine (or login) to another?"
- Previous message: Sebastian Schack: "Lock user into one directory?"
- In reply to: Sebastian Schack: "Lock user into one directory?"
- Next in thread: Sebastian Schack: "Re: Lock user into one directory?"
- Reply: Sebastian Schack: "Re: Lock user into one directory?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Armin Krawinkel <geschrei@gmx.at> Date: Mon, 21 Apr 2003 22:00:34 GMT
Sebastian Schack announced in <b81od6$3da$1@ulric.tng.de>:
> 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 think chroot is what you are searching for
-- life, the universe and everything
- Next message: William Hooper: "Re: Move 'Saved Sessions' from one machine (or login) to another?"
- Previous message: Sebastian Schack: "Lock user into one directory?"
- In reply to: Sebastian Schack: "Lock user into one directory?"
- Next in thread: Sebastian Schack: "Re: Lock user into one directory?"
- Reply: Sebastian Schack: "Re: Lock user into one directory?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|