SDB:Root cannot execute certain programs

Şuraya atla: kullan, ara


The enviroment of root does not contain "." (the current working directory) When the user root wants to start any program in the current directory, one must type either ./[program] or sh [program].

Reason:

First of all, everything has to do with security aspects.
An example: in the directory /tmp there is an executable shell script with the name "l", which contains the following code:

	#!/bin/bash
	cd /
	rm -rf *

Root types now by mistake l s-l (the blank space also in the wrong place). A strong hard disk activity will be immediately noticed.


<keyword>root,point,path,security</keyword>