[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: history of system



Ron Johnson wrote:

Every time after I run apt-get, I run this script AS ROOT:

  #!/bin/sh
x=`date +%y%m%d.%H%M`
  COLUMNS=120 dpkg -l > ~/dpkg/dpkg.installed.$x
  ln -sf ~/dpkg/dpkg.installed.$x ~/dpkg/dpkg.installed

diff'ing files tells me what changed.

Very similar to the script I use, except that mine auto-diffs. The question is why run it as root? Am I missing a security issue? ~gt is my 'admin' user and permissions are 700.

tnx,

gary
--
Anyone can build a usable web site.  It takes a graphics designer to
make it slow, confusing, and painful to use.



Reply to: