PDA

View Full Version : Package & Patch Management


dyngnosis
November 2nd, 2006, 06:03 PM
I've been tasked to write up a python script that, when given credentials is able to SSH into a remote Ubuntu box and identify installed packages

(They wanted 'installed software' but I pushed back and told them that it would be much more realistic if I used the package managers database of 'installed packages' than searching the machine for binaries and 'identifying' them with MD5's or something crazy)

Anyway -- my questions to the group are:

1.) Where does ubuntu store information on 'installed software'?
2.) Where does ubuntu store info on in 'installed patches'?

3.) Actually, this should have been #1... is there a python script out there that already does this? *fingers crossed*

Thanks,
dyn