[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More (not so) dummy questions from a new / old user




I am in a good mood today:

Daniel Feiglin <dilogsys@inter.net.il> writes:

> 1. What config file do you edit to install a programme into one of the
> fvwm95 menus? 

<snip>

> Attempt to RTFM resulted in nothing useful.

Even though it's all in the man pages. Excerpts:

       During initialization, fvwm95 will search for a configura-
       tion file which describes key and button bindings,  and  a
       few  other  things.   The  format  of  these files will be
       described later.  First, fvwm95 will  search  for  a  file
       named .fvwm2rc95 (or just .fvwmrc based on how it was com-
       piled - .fvwm2rc95 is  the  default)  in  the  users  home
       directory.     Failing    that,    it    will   look   for
       /usr/lib/X11/fvwm/.fvwm2rc95 for system-wide defaults.  If
       that  file is not found, fvwm95 will be basically useless.

       <...>

       The initialization configuration file is typically called
       ".fvwm2rc95".  By using the "Read" built-in, it is easy to
       read in new configuration files as you go.

The man page explains also how to add items to menus etc.

> 3. Tradition has it that PATH automatically includes your current
> working directory. 

<snip>

> RTFM and 2 Linux kilo-books yielded nothing.

I don't know what tradition you are talking about.  Putting the
current directory (or any directory writable by others) in PATH is a
security hole, and any decent UNIX book would mention that. The
security problem is relatively minor for a regular user account (if
the current directory is the last in PATH), but one shouldn't do that
for superuser or any other sensitive account.

Sorry, I can't answer your other questions off-hand. Hope it helps.

-- 
Oleg Goldshmidt          goldshmt@netvision.net.il   
BLOOMBERG L.P. (BFM)     oleg@bfr.co.il