Hi Michael< > wondering if its possible to run a script within the restricted shell that > contains commends not accessible by the restricted shell?
Yes, for example I created a "restricted" grep in /usr/rbin/grep, take a look. As long as your script doesn't start out with "#!/bin/rbash" as the first line you can change the PATH and do non-rbash things. Place your custom script in /mnt/kd/rbin and your /bin/rbash users will automatically have access to it. Just be very careful so you don't create a backdoor, or allow rbash users to view files, etc. . Lonnie On May 28, 2017, at 7:59 PM, Michael Knill <michael.kn...@ipcsolutions.com.au> wrote: > Hi group > > Well I have just updated my Build system to Asterisk 13 and 1.2.10. > Im interested in playing with the Restricted Shell and wondering if its > possible to run a script within the restricted shell that contains commends > not accessible by the restricted shell? > > Regards > Michael Knill ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.