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

Suggestions for Securing-debian-howto, section 4.2.1



Hi,

 I think that this line :

 # lsof | grep dpkg- | awk '{print $1, $8}' | sort +0

should be replaced by something like :

 # lsof | grep <the_upgraded_library> | awk '{print $1, $8}' | sort

I think that "dpkg-" is misleading.

Another suggestion is to replace $8 in awk by $9, and to pipe the command to 'uniq'.

Something like :

 # lsof | grep <the_upgraded_library> | awk '{print $1, $9}' | sort | uniq

($8 print the node on sarge, I'm not sure it's the most usefull)

Regards,
--
Christophe Sahut



Reply to: