Рейтинг: 5 / 5

Звезда активнаЗвезда активнаЗвезда активнаЗвезда активнаЗвезда активна
 

To disable keyrings in Fedora Linux via the console, follow these steps:

  1. Open Terminal

    Open your terminal application.

  2. Stop the GNOME Keyring Daemon

    You can stop the currently running GNOME Keyring daemon using the following command:

    pkill gnome-keyring
  3. 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
  4. 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
  5. Logout and Login

    After making these changes, log out of your session and log back in to ensure the changes take effect.

  6. 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