RE: monitor remote rpm database

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

 



Hi ,
Oops Sorry I lately found that rpm does not use gdbm and it uses Berkely Database
and stores the file  in /var/lib/rpm

[root@linuxbox123 root]# cd /var/lib/rpm/
[root@linuxbox123 rpm]# ls
Basenames     __db.001  __db.003  Filemd5s  Installtid  Packages     Provideversion  Requirename     Sha1header  Triggername
Conflictname  __db.002  Dirnames  Group     Name        Providename  Pubkeys         Requireversion  Sigmd5
[root@linuxbox123 rpm]# cd Packages
bash: cd: Packages: Not a directory
[root@linuxbox123 rpm]# ls
Basenames     __db.001  __db.003  Filemd5s  Installtid  Packages     Provideversion  Requirename     Sha1header  Triggername
Conflictname  __db.002  Dirnames  Group     Name        Providename  Pubkeys         Requireversion  Sigmd5
[root@linuxbox123 rpm]# file Packages
Packages: Berkeley DB (Hash, version 8, native byte-order)
[root@linuxbox123 rpm]# pwd
/var/lib/rpm
[root@linuxbox123 rpm]#


Can anybody please tell me , if so , what could be the keys to read these files :-??

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx]On Behalf Of Mulley, Nikhil
Sent: Wednesday, December 29, 2004 7:36 PM
To: redhat-list@xxxxxxxxxx
Subject: monitor remote rpm database


Hi All ,
Happy Holidays :)

I want to know how can I monitor remote machines rpm database , so that when ever a user on that machine installs a new rpm on the system, thinking that I have root access to the remote machine .
when I tried to search in install.log which is in /root directory , it is created only when te distribution is installed and thereby not updated ,
Where is the path of the rpm database (gdbm) files that rpm maintains and how do I read them ( what could be the keys to read the gdbm files) and from them generate the reports and send a mail to root or a groupmail.

Regards,
Nikhil.
 °v°
/(_)\
  ^ ^

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux