Stephen Gran on Thu, 2 Oct 2003 16:00:23 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] expect, /dev/pts, and a chroot


On Thu, Oct 02, 2003 at 03:01:35PM -0400, gabriel rosenkoetter said:
> On Mon, Sep 29, 2003 at 11:57:41AM -0400, sean finney wrote:
> > i'm setting up a chrooted login environment for a subset of users
> > on a system.  i've thrown together an expect script that they'll need
> > to have access to, which barfs whenever it calls spawn because it's
> > unable to allocate a pseudo tty:
> 
> Does Linux lack a rsh (as in restricted shell, not as in remote
> shell)?
> 
> I sure thought bash had an rsh component, and it might do what
> you're after without a lot of setup pain.

steve:~$ apt-cache search restricted shell
rssh - Restricted shell allowing only scp and/or sftp

HTH,
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  |  A new chef from India was fired a week |
|  steve@lobefin.net             | after starting the job.  He kept        |
|  http://www.lobefin.net/~steve | favoring curry.                         |
 --------------------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature