On 26/12/06 17:28:18, Ag. Hatzimanikas wrote:
> On Tue, Dec 26, at 11:26 [EMAIL PROTECTED] wrote:
> > Hallo!
> > 
> > 
> > I'm  failing  at  figuring   out how to set $PATH for fcron jobs. I want to 
> > be
> > able to start scripts that depend on a modified $PATH.  If  I'm  not  
> > mistaken
> > fcron  runs  as  the  special  user  fcron  and then changes to the user it 
> > is
> > executing a job for. In the login  manpage  it  says  login  would  set  
> > $PATH
> > according to the fields:
> > "The  value for $HOME, $SHELL, $PATH, $LOGNAME, and $MAIL are set according 
> > to
> > the appropriate fields in the password entry"
> > Just what fields are these? Or should I set the $PATH somehow else?
> 
> Fcron belongs to blfs,so "blfs-support" mailing list is more appropriate than 
> this
> one.
> 
> To answer your question,please try to set up the desired path to the fcrontab 
> itself.
> 
> PATH=/bin:/usr/bin:/home/lynx/scripts

Ah,  thanks. I thought I'd have to get login set the PATH. Still I'm wondering
where the default PATH is coming from before any  bash_profile  or  bashrc  is
read. Some where I read it would be compiled in, just didn't say where.
Sorry for the wrong list, as I was lead to login I decided to take lfs.

Thanks again.
Lynx
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to