Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14681 > unrolled thread

Re: Found way to change directory in rbash!

Started byChet Ramey <chet.ramey@case.edu>
First post2018-10-01 09:06 -0400
Last post2018-10-01 09:06 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Found way to change directory in rbash! Chet Ramey <chet.ramey@case.edu> - 2018-10-01 09:06 -0400

#14681 — Re: Found way to change directory in rbash!

FromChet Ramey <chet.ramey@case.edu>
Date2018-10-01 09:06 -0400
SubjectRe: Found way to change directory in rbash!
Message-ID<mailman.1614.1538399186.1284.bug-bash@gnu.org>
On 10/1/18 8:04 AM, boris.valkovski@gmail.com wrote:

> Bash Version: 4.4
> Patch Level: 12
> Release Status: release
> 
> Description:
> 	As you know, the cd command is restricted when running rbash.Well, 
>         the PWD variable can be modified, so directory can be changed.
> Repeat-By:
> 	I ran rbash, so cd was restricted.Then I tried to modify the PWD
>         variable, and I changed the current working directory successfully.

That doesn't change the current working directory. The shell is still in
the same directory it was before.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web