To disable keyrings in Fedora Linux via the console, follow these steps:
-
Open Terminal
Open your terminal application.
-
Stop the GNOME Keyring Daemon
You can stop the currently running GNOME Keyring daemon using the following command:
pkill gnome-keyring
-
Prevent GNOME Keyring from Starting
Prevent the GNOME Keyring daemon from starting automatically by editing the autostart configuration files:
mkdir -p ~/.config/autostart cp /etc/xdg/autostart/gnome-keyring* ~/.config/autostart/
After copying these files, edit them to disable the keyring services:
for file in ~/.config/autostart/gnome-keyring*.desktop; do echo 'Hidden=true' >> $file done
-
Disable PAM Integration
Remove or comment out the relevant lines in the PAM configuration files to prevent GNOME Keyring from starting through PAM.
Edit the following files:
sudo nano /etc/pam.d/login sudo nano /etc/pam.d/passwd sudo nano /etc/pam.d/sshd
Look for lines that contain
pam_gnome_keyring.so
and comment them out by adding a#
at the beginning of the line.For example:
# auth optional pam_gnome_keyring.so # session optional pam_gnome_keyring.so auto_start
-
Logout and Login
After making these changes, log out of your session and log back in to ensure the changes take effect.
-
Check if GNOME Keyring is Disabled
Verify that the GNOME Keyring is not running by using the following command:
ps aux | grep gnome-keyring
If you do not see
gnome-keyring-daemon
in the output, it means the keyring is successfully disabled.
NOT HELPED?
the solution #2:
https://ubuntuforums.org/showthread.php?t=2377036&p=13708937#post13708937