projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libarchive: open_zipped() does not need to check extensions for e.g. gzip
[oweals/busybox.git]
/
loginutils
/
su.c
diff --git
a/loginutils/su.c
b/loginutils/su.c
index 2ec05e12552e04588cc92be1f45d9ef337fd1fb0..c51f26f70f0a65fc1dde85a5ecffb8203ac50272 100644
(file)
--- a/
loginutils/su.c
+++ b/
loginutils/su.c
@@
-93,7
+93,7
@@
int su_main(int argc UNUSED_PARAM, char **argv)
pw = xgetpwnam(opt_username);
- if (cur_uid == 0 ||
correct_password(pw)
) {
+ if (cur_uid == 0 ||
ask_and_check_password(pw) > 0
) {
if (ENABLE_FEATURE_SU_SYSLOG)
syslog(LOG_NOTICE, "%c %s %s:%s",
'+', tty, old_user, opt_username);