Re: Where is a good reference for setting PATH in all the variousshells

"Ken Bauer" <[email protected]>
Newsgroups gmane.linux.redhat.taroon
Message-ID <[email protected]>
No, I think Douglas is thinking about something at a higher level
(think meta).

Red Hat could have a configuration file /etc/redhatvariables or
some such thing which is controlled by a nice config program, which
on any modification, parses it and updates the relevant files
in /etc/profile.d to add/change the variables for available shells.

Nice idea, not too hard to hack in.

- Ken

-- 
Ken Bauer <[email protected]>
Profesor, Computer Science
ITESM, Campus Guadalajara
http://cis.gda.itesm.mx/~kenbauer/

Ed Wilts said:
> On Wed, Sep 10, 2003 at 09:20:47AM -0700, Douglas Phillipson wrote:
>>
>> Path is such a basic environment, it would be nice to have a
>> /etc/defaultpath file where all paths are on a separate line and all
>> shells would first consult this file.  Perhaps even a
>> /etc/defaultrootpath /etc/defaultuserpath.  There are probably 20 good
>> reasons this isn't a good idea, though I don't know what they are.
>
> The biggest reason is that every shell would have to be modified to
> consult this file.  One thing that could potentially happen (and you
> could write it yourself) is to modify the login script to read the file
> and update the path variable accordingly.
>
> In my experience, very few shells are actually in common use.  I'll
> venture a guess that on the vast majority of Linux systems, bash is the
> only interactive shell that's used.
>
> --
> Ed Wilts, Mounds View, MN, USA
> mailto:[email protected]
> Member #1, Red Hat Community Ambassador Program
>
>
> --
> Taroon-beta-list mailing list
> [email protected]
> http://www.redhat.com/mailman/listinfo/taroon-beta-list
>


--
Taroon-beta-list mailing list
[email protected]
http://www.redhat.com/mailman/listinfo/taroon-beta-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.