Re: rsync + ssh + rbash
From: Alessandro Selli (adoro.lo.spam@libero.it)
Date: 01/29/03
- Next message: David Bonde: "Re: SSH-client that suppports http-proxies AND dynamic tunnels?"
- Previous message: Erwan: "rsync + ssh + rbash"
- In reply to: Erwan: "rsync + ssh + rbash"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Next message: David Bonde: "Re: SSH-client that suppports http-proxies AND dynamic tunnels?"
- Previous message: Erwan: "rsync + ssh + rbash"
- In reply to: Erwan: "rsync + ssh + rbash"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|