login
Header Space

 
 

Re: DOS2Linux: Newbie to Newbie

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
Date: Wednesday, August 12, 1992 - 1:48 pm

In article <1992Aug11.085511.3148@nntp.hut.fi> sakaria@vipunen.hut.fi (Sakari Aaltonen) writes:


This isn't Linux, it's your PATH environment variable.  '.' must be 
explicitly stated in PATH.

To add . to your path, edit your .profile (Bourne shells), or .cshrc (C shells),
and add . to the PATH= (Bourne shell), or path=() (C shell) statement.  To 
add . to your path immediately under Bourne shell,

PATH=${PATH}:.

'C' shell : 

setenv PATH $PATH:.

Note that having . in your path is a security hole - if you are in 
/tmp or any other world writeable directory, or some users directory,
they can have mispellings of normal commands there to catch you.
If you screw up, they can have something SUID to you, and have 
access to all your files.  

Also, if . is first, things in the current directory will be 
executed first - so typing a normal ls in the wrong place can give some
one access to all your files.


-- 
Microsoft is responsible for propogating the evils it calls DOS and Windows, 
IBM for AIX (appropriately called Aches by those having to administer it), but neither is as bad as AT&T.  Boycott AT&T, and let them know how you feel.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: DOS2Linux: Newbie to Newbie, Drew Eckhardt, (Wed Aug 12, 1:48 pm)
speck-geostationary