SuSE GmbH

SuSE Support Database

Title: Cannot route execute any programme?

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

Cannot route execute any programme?

In the root's environment "." is not located in the search path (variable PATH). When the user root wants to start a xxx programme in the current directory, it must type either ./xxx or sh xxx.

Why is it like that?

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 as well in the wrong place). A strong hard disk activity will be inmediately noticed somewhere.

----------

See also:

----------

Keywords: ROOT, POINT, PATH, SECURITY

----------

Feedback welcome: Send Mail to support@suse.de (Please give the following subject: SDB-punkt)

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-punkt, Copyright SuSE GmbH, Nuremberg, Germany - Version:
SuSE GmbH - Last generated: 07. Oct 1999 17:56:06 by maddin with sdb_gen 1.00.0