On 10/1/18 8:04 AM, boris.valkov...@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 c...@case.edu http://tiswww.cwru.edu/~chet/