[COLUG] Best place for modifying path
Warner Moore
wmoore at 2co.com
Mon Apr 23 09:29:33 EDT 2007
> -----Original Message-----
> From: colug432-bounces at colug.net
> [mailto:colug432-bounces at colug.net] On Behalf Of Rick Troth
> Sent: Wednesday, April 18, 2007 7:22 PM
> To: Central OH Linux User Group
> Subject: Re: [COLUG] Best place for modifying path
>
<snip>
> In my previous life, we had a need to change the path for all users.
> Turns out that /etc/profile only works for Bourne-compliant shells
> (eg: BASH, ZSH, ASH, PDKSH, Unix /bin/sh and friends) and not for
> C-shell complaint shells (eg: TCSH and Unix 'csh'). But with help
> from a co-worker who was C-shell savvy, I was able. I forget now
> excactly how we did it, but it involved hacking the C-shell profile
> such that it ran through the Bourne startup, or at least part of it,
> and then got back into its own mode. Worked. Covered all
> TTY sign-ons.
<snip>
Heh. /etc/csh.login
Warner
More information about the colug432
mailing list