SuSE Support Database

Title: Cannot route execute any programme?

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- 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 rj@suse.de (Please give the following subject: SDB-punkt)

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents
Deutsch
---

SDB-punkt, Copyright SuSE GmbH, Nuremberg, Germany - Version:
Impressum - Last generated: 24. Feb 1999 15:19:24 by maddin with sdb_gen 1.00.0