Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
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/