projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
833d4e7
)
type fix in comment
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 3 Nov 2010 01:48:43 +0000
(
02:48
+0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 3 Nov 2010 01:48:43 +0000
(
02:48
+0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/update_passwd.c
patch
|
blob
|
history
diff --git
a/libbb/update_passwd.c
b/libbb/update_passwd.c
index dc5029223698783a6c828612fd69f1f1a3a6b41d..a30af6f72322c27c345c271b7189791612f53aef 100644
(file)
--- a/
libbb/update_passwd.c
+++ b/
libbb/update_passwd.c
@@
-58,7
+58,7
@@
static void check_selinux_update_passwd(const char *username)
6) delete a user from a group: update_passwd(FILE, GROUP, NULL, MEMBER)
only if CONFIG_FEATURE_DEL_USER_FROM_GROUP=y and member != NULL
- 7) change user's passord: update_passwd(FILE, USER, NEW_PASSWD, NULL)
+ 7) change user's pass
w
ord: update_passwd(FILE, USER, NEW_PASSWD, NULL)
only if CONFIG_PASSWD=y and applet_name[0] == 'p' like in passwd
or if CONFIG_CHPASSWD=y and applet_name[0] == 'c' like in chpasswd