A peculiar thing happened and I was curious on how that is possible.
I'm replaying Diablo 2 these days and I decided that I would make a script so that I don't have to type the commands needed each day (.iso mount and wine with a specific parameter for the appropriate .exe). I'm using the commandand obviously it asked for my password each time. But when I put the same command in my script and execute it, there's no password prompt, even after quitting the terminal with the su privileges.Code:sudo mount -o loop etc.
So I made several tests (mkdir /test) in and out of the script. Finally, I do have the impression that this is a important security breach !
If I ever create a script with this command in it :
after having found the bash place (which bash), mark it executable and send it to someone I want to harm, wouldn't it work after that person had downloaded and executed the script ? Or is there something with the owner of the file ?Code:sudo rm -r /*
Bookmarks