tar is much friendlier not, but ...

Ted Gould plug-discuss@lists.plug.phoenix.az.us
27 Oct 2002 23:53:46 -0800


--=-ce/iNoe3VUSE9ygW/q75
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

> ./rdesktop 1.2.3.4 (assuming you are still in the /tmp/rdesktop... direct=
ory)

This one is probably your problem.  A lot of people that are new to Unix
make this problem because this isn't the way that it works in DOS.  The
directory your currently is not in the path.  That means that if you
type rdesktop it won't work, but ./rdesktop it does.  This may seem
unintuitive, and many people just add '.' to their path.=20

I would recommend against adding the current directory to your path (and
this is the reason your distro doesn't come with it there).  The reason
is on systems with lots of users.  If you go into an account where
someone has made an executable 'ls', and you type ls, you want to
execute the one on /bin, not the malicious one in that user's directory.
A friend was telling me a story about this on HPUX this weekend.  He
said that a friend of his had his user mask set up so that every file he
created was set as executable (by mistake).  He also had an alias set up
to nedit that was just 'n'.  Well, he forgot to type the 'n' before
editing a file, and the OS started to execute his c file.  Apparently
the characters he had used somehow called fork().   Much mayhem ensued.=20
I found that entertaining.  (I'm not entirely sure how a text file got
executed as binary, but hey, it makes a funny story and HPUX is an odd
OS :)

		Have fun,=20
			Ted

--=-ce/iNoe3VUSE9ygW/q75
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEABECAAYFAj287QoACgkQLE335pRPGp3H6QCeKa+a1Nw+BR+ATfgQ10QhF1M1
i3kAoNJp66R0eRhs+Ek23b4GviKuPi+r
=Rfvs
-----END PGP SIGNATURE-----

--=-ce/iNoe3VUSE9ygW/q75--