Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting Users that are Out of ID range - does not delete the users' home directories #1282

Closed
sssd-bot opened this issue May 2, 2020 · 0 comments
Assignees
Labels
Closed: Fixed Issue was closed as fixed.

Comments

@sssd-bot
Copy link

sssd-bot commented May 2, 2020

Cloned from Pagure issue: https://pagure.io/SSSD/sssd/issue/240

  • Created at 2009-10-23 16:49:31 by jgalipea
  • Closed as Fixed
  • Assigned to jhrozek

Description[[BR]]

Using the sss utilities to delete users that are not within min_id and max_id range, deletes the users but does not delete the users' home directory.[[BR]]

Steps to Reproduce[[BR]]

  1. install sssd and configure local domain with id range 1000 1003[[BR]]

  2. add two users using sss_useradd[[BR]]

  3. check that user directories were created[[BR]]

  4. edit the sssd.conf and change the min_id to 2000 and max_id to 2003 and restart sssd[[BR]]

  5. getent -s sss for the users to make sure they are not returned[[BR]]

  6. delete the users and verify they were deleted[[BR]]

  7. verify their home directories were deleted[[BR]]

EXPECTED RESULTS:[[BR]]

home directories were deleted[[BR]]

ACTUAL RESULTS:

home directories are not deleted[[BR]]

Version[[BR]]
sssd-0.7.0-0.2009102216gitc2d7b22.el5[[BR]]
sssd-client-0.7.0-0.2009102216gitc2d7b22.el5

Comments


Comment from jgalipea at 2009-10-23 17:19:11

Fields changed

owner: somebody => jhrozek


Comment from jhrozek at 2009-10-27 15:14:13

Moving the target to RC - all tools bugs should be fixed by RC to have the strings in place for translators.

milestone: SSSD 1.0 => SSSD 1.0 RC


Comment from jhrozek at 2009-11-06 14:43:26

This was actually a different bug -- the users should not have been deleted in the first place if they are out of range.

Fixed in 73df935

fixedin: => 1.0.0rc
resolution: => fixed
status: new => closed
tests: 0 => 1
testsupdated: 1 => 0


Comment from jgalipea at 2009-11-09 16:12:44

automated test for this exists.

tests: 1 => 0


Comment from jgalipea at 2009-12-10 20:18:03

Fields changed

testsupdated: 0 => 1


Comment from dpal at 2012-01-19 02:32:03

Fields changed

rhbz: => 0


Comment from jgalipea at 2017-02-24 14:31:37

Metadata Update from @jgalipea:

  • Issue assigned to jhrozek
  • Issue set to the milestone: SSSD 1.0 RC
@sssd-bot sssd-bot added the Closed: Fixed Issue was closed as fixed. label May 2, 2020
@sssd-bot sssd-bot closed this as completed May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed: Fixed Issue was closed as fixed.
Projects
None yet
Development

No branches or pull requests

2 participants