-
Notifications
You must be signed in to change notification settings - Fork 229
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
man userdel: description of -f is confusing #1062
Comments
Agree, the wording should be clarified. Reading the source code it seems to only remove the checks but not do more than you explicitly asked for. How about this?:
|
alejandro-colomar
added a commit
to alejandro-colomar/shadow
that referenced
this issue
Aug 31, 2024
The previous wording seemed to say that -f implied -r. It doesn't; -f only skips safety checks, so reword accordingly. Closes: <shadow-maint#1062> Reported-by: Martin von Wittich <[email protected]> Cc: "Serge E. Hallyn" <[email protected]> Signed-off-by: Alejandro Colomar <[email protected]>
hallyn
pushed a commit
that referenced
this issue
Sep 1, 2024
The previous wording seemed to say that -f implied -r. It doesn't; -f only skips safety checks, so reword accordingly. Closes: <#1062> Reported-by: Martin von Wittich <[email protected]> Cc: "Serge E. Hallyn" <[email protected]> Signed-off-by: Alejandro Colomar <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
man userdel
says about the-f
flag:This seems confusing to me - I want to remove a user who has still processes running, so I think I need the
-f
flag, but I absolutely do not want to delete the user's home directory. I assume that the description actually means that the combination of-r
and-f
will delete the user's home directory (even if another user uses the same home), but the description makes it sound as if just specifying-f
will causeuserdel
to delete the home directory.The text was updated successfully, but these errors were encountered: