X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Tony Benham Subject: Re: Rbash in cygwin ? Date: Thu, 29 Nov 2007 14:32:05 +0000 (UTC) Lines: 15 Message-ID: References: <474EBDA2 DOT 8070207 AT byu DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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/