Project

General

Profile

Actions

Bug #12940

closed

Deleting a user on the primary node does not delete its home directory on secondary node during XMLRPC sync

Added by Marcos M over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
XMLRPC
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Default
Affected Version:
2.6.0
Affected Architecture:

Description

In an HA configuration, deleting a user (System / User Manager) will only delete the user home directory on the primary node. This can lead to a permissions issue with ssh keys on the secondary node when a user by the same name is recreated.

  1. create user1 with ssh key on primary node
  2. wait for xmlrpc sync then delete user1
    /home/user1 still exists on secondary node
  3. create user1 with ssh key on primary node
  4. secondary node now has:
    ls -la /home/user1/
    drwx------  2 2005   nobody     3 Mar  5 15:55 .ssh
    
Actions

Also available in: Atom PDF