delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/29/09:32:57

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Tony Benham <tonyb AT benhamhouse DOT co DOT uk>
Subject: Re: Rbash in cygwin ?
Date: Thu, 29 Nov 2007 14:32:05 +0000 (UTC)
Lines: 15
Message-ID: <loom.20071129T143003-303@post.gmane.org>
References: <loom DOT 20071129T130826-822 AT post DOT gmane DOT org> <474EBDA2 DOT 8070207 AT byu DOT net>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Eric Blake <ebb9 <at> byu.net> writes:
> 
> rbash as in restricted-bash?  If so, 'bash -r' or 'cp /bin/bash
> /bin/rbash; rbash' will try to do what you want.  However, I make no
> claims that the restricted mode of bash is secure, only that it will
> perform the restrictions mentioned in 'man bash'.  Which is why I don't
> bundle the name rbash in the bash package.  But if enough people want it,
> I suppose I could (it's a one-line change to my cygport build script).
> 
Yes I did. I was looking for a restricted bash to add into /etc/passwd for
some users just to make it slightly more difficult to browse everywhere
for some users.
Tony




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019