Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #78524

Re: cron as root

From Jolly Roger <jollyroger@pobox.com>
Newsgroups comp.sys.mac.system
Subject Re: cron as root
Date 2015-08-09 22:23 +0000
Organization People for the Ethical Treatment of Pirates
Message-ID <d2q26nFqm6vU2@mid.individual.net> (permalink)
References <1m8jveg.26jjio2tnj4yN%csampson@inetworld.net> <barmar-AB4C32.11112403082015@88-209-239-213.giganet.hu> <1m8vzo0.kj4osguw6hiyN%csampson@inetworld.net>

Show all headers | View raw


On 2015-08-09, Charles H. Sampson <csampson@inetworld.net> wrote:
> Barry Margolin <barmar@alum.mit.edu> wrote:
>
>> Also remember that root's .bashrc is not the same as YOUR .bashrc.
>
> Right, but the .bashrc that I have for root is a slightly modified copy
> of the one I use when running Terminal as myself (not root). It's mostly
> aliases that I like to use. None of those aliases are in place when I
> get my first command line prompt. If I execute
>
>      source .bashrc
>
> all is well.

If you want the ~/.bashrc script to be read during login, you can just
put this into your ~/.bash_profile file:

export ENV=~/.bashrc

if test -f ~/.bashrc; then
        . ~/.bashrc
fi

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

Back to comp.sys.mac.system | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

cron as root csampson@inetworld.net (Charles H. Sampson) - 2015-08-02 23:46 -0700
  Re: cron as root Huge <Huge@nowhere.much.invalid> - 2015-08-03 07:30 +0000
  Re: cron as root Jolly Roger <jollyroger@pobox.com> - 2015-08-03 13:29 +0000
    Re: cron as root Jolly Roger <jollyroger@pobox.com> - 2015-08-03 14:12 +0000
    Re: cron as root csampson@inetworld.net (Charles H. Sampson) - 2015-08-09 12:29 -0700
      Re: cron as root Barry Margolin <barmar@alum.mit.edu> - 2015-08-09 18:59 -0500
        Re: cron as root csampson@inetworld.net (Charles H. Sampson) - 2015-08-09 23:53 -0700
          Re: cron as root Barry Margolin <barmar@alum.mit.edu> - 2015-08-10 02:07 -0500
            Re: cron as root csampson@inetworld.net (Charles H. Sampson) - 2015-08-10 17:44 -0700
          Re: cron as root Leonard Blaisdell <leoblaisdell@sbcglobal.net> - 2015-08-10 19:39 -0700
            Re: cron as root Warren Oates <warren.oates@gmail.com> - 2015-08-11 07:49 -0400
  Re: cron as root Barry Margolin <barmar@alum.mit.edu> - 2015-08-03 11:11 -0400
    Re: cron as root csampson@inetworld.net (Charles H. Sampson) - 2015-08-09 12:29 -0700
      Re: cron as root Jolly Roger <jollyroger@pobox.com> - 2015-08-09 22:23 +0000
        Re: cron as root csampson@inetworld.net (Charles H. Sampson) - 2015-08-10 00:01 -0700

csiph-web