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: Barry Margolin: "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 04:20:43 GMT
Dave Uhring wrote:
> On Thu, 28 Oct 2004 02:56:27 +0000, Ian Gregory wrote:
>
>> 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
>
> I *know* what I want my PATH to be and it is fully declared in ~/.bashrc
> with no reference to some previously exported PATH, wherever that might
> actually be. Where is your $PATH exported before ~/.bash_profile is
> executed?
It could be done in /etc/profile, the standard place where
bash looks first (my above example was hypothetical).
>> 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.
>
> Maintenance of one file is easier than maintenance of two files.
I have some commands in one file and some in another whereas you
have them all in one. However, when I want to make a change I only
need to edit the appropriate one - it is not like I have to keep
them synced or anything. When I set up a new machine I might have
to copy both files over whereas you would only have to copy one
but you would *also* have to create the symlink.
So I don't think the maintenance issue is at all clear cut but
I don't want to follow up again so I will just relent and say
that your way may be marginally easier:-)
>> I guess my milage does vary!
>
> It's *your* home directory :-)
An Englishman's home directory is his castle:-)
-- Ian Gregory http://www.zenatode.org.uk/ian/
- Next message: Dave Uhring: "Re: determine when user account created?"
- Previous message: Barry Margolin: "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
|