Blame shadow-4.1.5.1-userdel-helpfix.patch
|
![](https://seccdn.libravatar.org/avatar/ca59ab3be600975ecf5ea3898e2a220c14d0d0cd3406201f156198b7f99be5a9?s=16&d=retro) |
41955fa |
Index: shadow-4.5/src/userdel.c
|
|
![](https://seccdn.libravatar.org/avatar/ca59ab3be600975ecf5ea3898e2a220c14d0d0cd3406201f156198b7f99be5a9?s=16&d=retro) |
41955fa |
===================================================================
|
|
![](https://seccdn.libravatar.org/avatar/ca59ab3be600975ecf5ea3898e2a220c14d0d0cd3406201f156198b7f99be5a9?s=16&d=retro) |
41955fa |
--- shadow-4.5.orig/src/userdel.c
|
|
![](https://seccdn.libravatar.org/avatar/ca59ab3be600975ecf5ea3898e2a220c14d0d0cd3406201f156198b7f99be5a9?s=16&d=retro) |
41955fa |
+++ shadow-4.5/src/userdel.c
|
|
![](https://seccdn.libravatar.org/avatar/ca59ab3be600975ecf5ea3898e2a220c14d0d0cd3406201f156198b7f99be5a9?s=16&d=retro) |
41955fa |
@@ -143,8 +143,9 @@ static void usage (int status)
|
|
![](https://seccdn.libravatar.org/avatar/dedd662cd18533e6b346ba9fced85f9b3e4c6ff8041e69506ad783477abed011?s=16&d=retro) |
8d1ef40 |
"\n"
|
|
![](https://seccdn.libravatar.org/avatar/dedd662cd18533e6b346ba9fced85f9b3e4c6ff8041e69506ad783477abed011?s=16&d=retro) |
8d1ef40 |
"Options:\n"),
|
|
![](https://seccdn.libravatar.org/avatar/dedd662cd18533e6b346ba9fced85f9b3e4c6ff8041e69506ad783477abed011?s=16&d=retro) |
8d1ef40 |
Prog);
|
|
![](https://seccdn.libravatar.org/avatar/dedd662cd18533e6b346ba9fced85f9b3e4c6ff8041e69506ad783477abed011?s=16&d=retro) |
8d1ef40 |
- (void) fputs (_(" -f, --force force removal of files,\n"
|
|
![](https://seccdn.libravatar.org/avatar/dedd662cd18533e6b346ba9fced85f9b3e4c6ff8041e69506ad783477abed011?s=16&d=retro) |
8d1ef40 |
- " even if not owned by user\n"),
|
|
![](https://seccdn.libravatar.org/avatar/dedd662cd18533e6b346ba9fced85f9b3e4c6ff8041e69506ad783477abed011?s=16&d=retro) |
8d1ef40 |
+ (void) fputs (_(" -f, --force force some actions that would fail otherwise\n"
|
|
![](https://seccdn.libravatar.org/avatar/dedd662cd18533e6b346ba9fced85f9b3e4c6ff8041e69506ad783477abed011?s=16&d=retro) |
a8136ba |
+ " e.g. removal of user still logged in\n"
|
|
![](https://seccdn.libravatar.org/avatar/dedd662cd18533e6b346ba9fced85f9b3e4c6ff8041e69506ad783477abed011?s=16&d=retro) |
8d1ef40 |
+ " or files, even if not owned by the user\n"),
|
|
![](https://seccdn.libravatar.org/avatar/dedd662cd18533e6b346ba9fced85f9b3e4c6ff8041e69506ad783477abed011?s=16&d=retro) |
8d1ef40 |
usageout);
|
|
![](https://seccdn.libravatar.org/avatar/dedd662cd18533e6b346ba9fced85f9b3e4c6ff8041e69506ad783477abed011?s=16&d=retro) |
8d1ef40 |
(void) fputs (_(" -h, --help display this help message and exit\n"), usageout);
|
|
![](https://seccdn.libravatar.org/avatar/dedd662cd18533e6b346ba9fced85f9b3e4c6ff8041e69506ad783477abed011?s=16&d=retro) |
8d1ef40 |
(void) fputs (_(" -r, --remove remove home directory and mail spool\n"), usageout);
|