version 1.20, 2010/03/04 12:21:36 |
version 1.21, 2011/01/12 21:45:02 |
|
|
/* do not check or update timestamp */ |
/* do not check or update timestamp */ |
status = TS_ERROR; |
status = TS_ERROR; |
} else { |
} else { |
if (user_uid == 0 || user_uid == runas_pw->pw_uid || user_is_exempt()) |
/* |
|
* Don't prompt for the root passwd or if the user is exempt. |
|
* If the user is not changing uid/gid, no need for a password. |
|
*/ |
|
if (user_uid == 0 || (user_uid == runas_pw->pw_uid && |
|
(!runas_gr || user_gid == runas_gr->gr_gid)) || user_is_exempt()) |
return; |
return; |
|
|
build_timestamp(×tampdir, ×tampfile); |
build_timestamp(×tampdir, ×tampfile); |