Lines 332-337
Link Here
|
332 |
if (a_name == NULL && pwd == NULL) /* Try harder */ |
332 |
if (a_name == NULL && pwd == NULL) /* Try harder */ |
333 |
pwd = GETPWUID(atoi(a_uid->val)); |
333 |
pwd = GETPWUID(atoi(a_uid->val)); |
|
|
334 |
if ( !(pwd->pw_fields & _PWF_SOURCE) && mode != M_PRINT ) |
335 |
errx(EX_DATAERR, "Operations on users other than local/NIS are not supported"); |
336 |
|
334 |
if (pwd == NULL) { |
337 |
if (pwd == NULL) { |
335 |
if (mode == M_PRINT && getarg(args, 'F')) { |
338 |
if (mode == M_PRINT && getarg(args, 'F')) { |
336 |
fakeuser.pw_name = a_name ? a_name->val : "nouser"; |
339 |
fakeuser.pw_name = a_name ? a_name->val : "nouser"; |