New answers tagged dpkg
You can use ssh. For example: ssh root@server -c "dpkg --get-selections" > localfile.txt
I understand your problem, since I'm having a similar issue with the pacman package manager on Arch Linux. If you have dpkg > 1.15.8, try populating /etc/dpkg/dpkg.cfg.d/excludes with: path-exclude=/usr/local/java/jre/lib/ext Source: Save disk space by excluding useless files with dpkg | Raphaël Hertzog. For Arch users, use NoExtract= in ...
I've got satisfied with the following approach to disable su (tested in Lubuntu 14.10). Open file /etc/pam.d/su. Then uncomment line: # auth required pam_wheel.so After this nobody (except users which are in 'root' group) can use su. But it is still possible to start root session using sudo su.
Top 50 recent answers are included