Importing missing apt keys

This is another one where I get a mental blank.  I know there is a way to import a new gpg key for apt, but I always have to look it up.

sudo apt-key adv --keyserver keys.gnupg.net --recv 886DDD89

And that is all there is to it.  (Substitute your favourite keyserver and the correct key, obviously).

using wireshark without root

Wireshark is a great and powerful tool, but for too long I’ve just been starting it as root, and ignoring the nag-screen that Debian keeps throwing at me. But it’s dead simple to do it the right way without root privileges.

Continue reading

adding users to groups

It’s embarrassing.  I just have a mental block when it comes to adding an existing user to an existing group.

sudo adduser user group

or to remove a user from a group

sudo deluser user group

Meh!