Re: determine when user account created?
From: Ian Gregory (foo_at_bar.invalid)
Date: 10/28/04
- Next message: Dave Uhring: "Re: determine when user account created?"
- Previous message: Dave Uhring: "Re: determine when user account created?"
- In reply to: Dave Uhring: "Re: determine when user account created?"
- Next in thread: Dave Uhring: "Re: determine when user account created?"
- Reply: Dave Uhring: "Re: determine when user account created?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Oct 2004 02:56:27 GMT
Dave Uhring wrote:
> On Wed, 27 Oct 2004 21:07:49 -0400, Barry Margolin wrote:
>
>> In article <pan.2004.10.28.00.52.33.589222@yahoo.com>,
>> Dave Uhring <daveuhring@yahoo.com> wrote:
>
>>> ~/.bashrc is not sourced at login so apparently it is not for *every*
>>> instance of shell invocation.
>>
>> OK, every subshell. Still, I don't think they should normally be linked
>> together -- there's stuff you only need to do at login time, not in
>> subshells. Often .bash_profile ends with "source .bashrc" to get that
>> script executed in the login shell as well.
>
> I find that maintaining one such file is enough work even it it costs a
> few microseconds on each invocation of xterm|dtterm. YMMV.
In my .bash_profile I might for example have:
PATH=$PATH:/mypath
I don't want that to be executed by a subshell or it becomes
$PATH:/mypath:/mypath
OK, I guess that is no big deal either but it comes down to
the fact that symlinking .bashrc to .bash_profile (or the
other way round?) just seems ugly and wrong to me, and even
if it was easier to maintain (which I don't accept) then I
would still not do it.
I guess my milage does vary!
-- Ian Gregory http://www.zenatode.org.uk/ian/
- Next message: Dave Uhring: "Re: determine when user account created?"
- Previous message: Dave Uhring: "Re: determine when user account created?"
- In reply to: Dave Uhring: "Re: determine when user account created?"
- Next in thread: Dave Uhring: "Re: determine when user account created?"
- Reply: Dave Uhring: "Re: determine when user account created?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|