Hi, On Mon, 7 Sep 1998, John Chajecki wrote:
Scripts don't run. Neither shell scripts nor perl scripts run despite the '#!/bin/sh' and '#!/usr/bin/perl' lines being present. I just get 'Command not found'. I accidentally found that I *could* execute scripts while logged in as a user other then root so it appears that only root cannot execute scripts.
In both cases I have been working as root because I want to set things up. I am aware of the rule 'use root only for administrative tasks'. Once I am sure everything is working OK I will use a standard user account.
How did you attempt to start these scripts? For security reasons, root does not have the current directory in his PATH environment variable by default. If you want to run a script or executable from the current directory, you have to prefix it with "./". Hope that helps. LenZ ------------------------------------------------------------------ Lenz Grimmer S.u.S.E. GmbH <A HREF="mailto:grimmer@suse.de">mailto:grimmer@suse.de</A> Gebhardtstrasse 2 <A HREF="http://www.suse.de"><A HREF="http://www.suse.de</A">http://www.suse.de</A</A>> 90762 Fuerth, Germany - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e