LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 01-10-2008, 01:14 AM   #1
lawrence_lee_lee
Member
 
Registered: May 2007
Posts: 141

Rep: Reputation: 16
Is this a spy script??


I found this script in my cron.daily folder. Is this a malicious script? Can anyone take a look at this and give some opinions?

Quote:
#!/bin/sh

bak=/var/backups

# Shamelessly ripped from /etc/cron.daily/standard
if test -f /var/lib/aptitude/pkgstates && cd $bak ; then
if ! cmp -s aptitude.pkgstates.0 /var/lib/aptitude/pkgstates ; then
cp -p /var/lib/aptitude/pkgstates aptitude.pkgstates
savelog -c 7 aptitude.pkgstates > /dev/null
fi
fi
 
Old 01-10-2008, 03:24 AM   #2
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 398

Rep: Reputation: 36
This script is used for the package manager aptitude to save extended states of the installed packages. The script saves the last 7 pkgstates as a backup.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
APT-SPY-Problem browser Linux - Networking 1 12-21-2007 08:32 PM
The Spy Act U.S. Only xor General 16 05-09-2007 02:53 AM
HDD spy program? Euronymous Linux - Software 1 04-09-2005 11:57 AM
If root becomes a SPY :-O Nad0xFF Linux - Security 21 04-08-2005 01:11 PM
microsft helping US to spy? schatoor General 20 07-03-2003 11:46 AM


All times are GMT -5. The time now is 12:58 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration