[Gllug] Dumb shell question
Bruce Richardson
itsbruce at uklinux.net
Sat Jan 19 19:16:58 UTC 2002
On Sat, Jan 19, 2002 at 06:44:42PM +0000, John wrote:
> Folks,
> I just know this question has an obvious answer, and I will
> kick myself when someone says it.
>
> On a Redhat 7.2 system I am trying to run a /bin/sh script
> (in fact a software installer)
> Under my own Id it seems to run fine.
> Under root I get:
>
> - starting install...
> : command not found
> : command not found
> : command not found
> : No such file or directoryh
>
> What is the fix please?
Check the path for root compared to the user. You may well find that
root has a shorter path list than standard users - or you may have added
to yours. And the script may be calling thins that are not on root's
path.
--
Bruce
The ice-caps are melting, tra-la-la-la. All the world is drowning,
tra-la-la-la-la. -- Tiny Tim.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 261 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20020119/8330f310/attachment.pgp>
More information about the GLLUG
mailing list