Re: general squawk about unattended-upgrade
gene heskett wrote:
> On 11/16/22 14:09, Dan Ritter wrote:
> > Greg Wooledge wrote:
> > > On Wed, Nov 16, 2022 at 01:03:20PM -0500, gene heskett wrote:
> > > > I have removed the execute perms from that utility and restarted the job.
> > >
> > > Why not simply *remove* the unattended-upgrades package? It sounds like
> > > your system is one that should not be using it.
> >
> > I bet apticron would suit Gene's needs better. Looks for updated
> > packages, downloads them, sends email to root about them --
> > doesn't install them or reboot the machine.
> >
> The more thought I put into this, the more sense removing it makes.
>
> Can that mail be send to me? I use sudo for root usage.
Yes. You can either edit /etc/apticron/apticron.conf or --
probably better -- edit /etc/aliases to include something like:
root: gheskett@shentel.net
so that all mail to root gets forwarded to you.
After editing /etc/aliases, you should run
sudo newaliases
to make it take effect.
-dsr-
Reply to: