Linux.com

Re:security problem

Posted by: Anonymous Coward on December 08, 2005 11:02 PM
Not on my system[1]:
(as a user)
$ touch 'foo;sh'
$ du 'foo;sh'
sh-3.00$ cd<nobr> <wbr></nobr>/root
sh: cd:<nobr> <wbr></nobr>/root: Permission denied
sh-3.00$ touch test
sh-3.00$ ls -l test
-rw-r--r-- 1 bogus users 0 2005-12-08 09:51 test<nobr> <wbr></nobr>...no security problem here.

[1] Slackware 10.2 / bash 3.0

#

Return to Custom scripting gives users a safe-du