On Monday 27 February 2006 19:04, Dogsbody wrote:
> > by doing a chmod u+x mylogin and then issuing mylogin from the prompt
> > where on the RaQ4 after changing the permission via chmod u+x mylogin
> > the only way I can get it to run is by issuing
> > ./mylogin
>
> The PATH variable is different between the machines.  Do an `echo $PATH`
> and you should see "." in one pointing commands to look in the local
> directory.
>

But please don't do this for the "admin" or "root" user unless you enjoy 
getting hacked....  Allowing or even "asking" for commands to be run from ANY 
directory that you happen to be in is very dangerous.

EG:  customer installs script called "ls" that simply does a suid (set root 
uid) execute bit on another script and then executes the real "ls" command.  
You would never even know you just gave that person root access to your 
server....

-- 
Larry Smith
SysAd ECSIS.NET
[EMAIL PROTECTED]


_______________________________________________
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts

Reply via email to