26

I want to disable GNOME keyring globally on my machine. So I deleted the lines

auth    optional        pam_gnome_keyring.so
session optional        pam_gnome_keyring.so auto_start

in /etc/pam.d/gdm. It seems to me that this has no effect. When I lock in the syslog writes

Aug 24 18:37:03 foobar gnome-screensaver-dialog: gkr-pam: unlocked login keyring

and another user sees a menu window where he hs to enter his credentials. So what is the correct way to disable keyring for every user on that machine?

Jorge Castro
  • 73,717
qbi
  • 19,515

3 Answers3

15

Try this: System ⇒ Preferences ⇒ Startup Applications and uncheck gnome-keyring-daemon.

lcipriani
  • 457
13

I think you just disabled the auto-unlock. To disable it completely, I suppose you could uninstall it. If that makes the package manager unhappy, you could also sudo chmod -x /usr/bin/gnome-keyring

maco
  • 16,132
7

For Gnome 3 (ubuntu 17.10 and later):

  • ubuntu/windows key →
  • Startup Applications
  • uncheck/remove SSH Key Agent/GNOME Keyring: SSH Agent
sds
  • 2,643