Re: rsync + ssh + rbash

From: Alessandro Selli (adoro.lo.spam@libero.it)
Date: 01/29/03


From: Alessandro Selli <adoro.lo.spam@libero.it>
Date: Wed, 29 Jan 2003 12:14:58 +0100

Il giorno Wed, 29 Jan 2003, Erwan cos ha scritto:

|From: Erwan <erwanpianezza@my-deja.com>
|Date: 29 Jan 2003 03:04:17 -0800
|Subject: rsync + ssh + rbash
|
|Hi, I am trying to connect a user with rsync + shh
|
|it works fine when the user has a /bin/bash shell
|
|but I would like to restrict the shell to its home, so I tried the
|following rbash shell
|
|#!/bin/bash
|/bin/bash --restricted
|

  The correct way to do this, is creating a /bin/rbash symlink to /bin/bash
and setting that, /bin/rbash, as the users' shell.

  Sandro

-- 
Bellum se ipsum alet
       La guerra nutre se stessa
Livio, Ab urbe condita, XXXIV,9