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

Re: running daemons from boot




Jay Cralley said:
> Thanks for the reply. I have another question, though. Is it possible
> that BASH does not inkerit the path specified in rc.sysinit? When I
> change to CSH, the path is OK, but in bash the path is nonexistent.

If I'm not mistaken, bash *won't* inherit the path from rc.sysinit,
since init first runs the rc scripts, then runs the gettys that your
shell is descended from.  (In other words, your shell is not a child
process of the rc scripts.)

Bash should get its path from /etc/profile, /etc/bashrc, ~/.profile,
~/.bash_profile, and/or ~/.bashrc.  Take a look at those and see if
there are any errors.

BTW, csh (which is most likely a symlink to tcsh) gets its path from
/etc/cshrc, /etc/csh.login, ~/.login, ~/.cshrc, and/or ~/.tcshrc
(assuming csh is indeed a symlink to tcsh).

Steve
-- 
steve@silug.org           | Linux Users of Central Illinois
(217)698-1694             | Meetings the 4th Tuesday of every month
Steven Pritchard          | http://www.luci.org/ for more info

--
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.