delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/29/17:21:40

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Fri, 29 Aug 2003 16:20:39 -0500
Message-Id: <200308292120.h7TLKdsE016686@tigris.pounder.sol.net>
X-Authentication-Warning: tigris.pounder.sol.net: rodmant set sender to nicebounce AT trodman DOT com using -f
From: (Tom Rodman) nicebounce AT trodman DOT com
Reply-to: (Tom Rodman) nicebounce AT trodman DOT com
X-note: !!perl -ne 'print;s/^From/Reply-to/;print;exit;' ##
X-note: _fam_em, _pal_em, _tmp_em, _biz_em , _bounce_em
To: cygwin AT cygwin DOT com
X-note: 1G0!G/usr/sbin/sendmail -v -t -f"nicebounce AT trodman DOT com" # less traceable, bypasses MUA
X-note: -t => determine receipients from STDIN/headers
X-note: mdraft ~/Mail/usenet/102
X-note: "From:" if gone is usually added by MUA; best etiquette: define own "From:"
X-note: if you define "From:" even your bogus def is always honored
Subject: /bin/rbash in passwd, but starts a *non* restricted shell (1.3.20)

Interactively rbash seems to work fine:

  bash-2.05b$ uname -a; ln -s /bin/bash /bin/rbash;rbash
  CYGWIN_NT-4.0 ws011206 1.3.20(0.73/3/2) 2003-02-08 12:10 i686 unknown unknown Cygwin
  rbash-2.05b$ cd /
  rbash: cd: restricted

When I set the login shell to /bin/rbash and login through ssh
the shell is *not* restricted.

Any ideas on how to work around this?  Is this fixed in 1.3.22 or later?
__
thanks,
Tom

--
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