we should enable user after creation with zfs tests
we re using 'useradd' in zfs tests for some cases where we need to use different users, but as default, 'useradd' is creating disabled user.
we should enable user by: passwd -N user - before using it by 'su'
Updated by Igor Kozhukhov about 3 years ago
Yuri Pankov wrote:
It's not disabled, it's locked, which doesn't prevent it from being used by calling 'su', you simply can't use it to log in.
i think illumos 'su' is broken with using locked/disabled account. on others platforms are you not able to do it.
Updated by Electric Monk about 3 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 09b2abb464ff7bbef397718b20686211ee1f1ddb Author: Igor Kozhukhov <email@example.com> Date: 2018-09-17T17:24:36.000Z 9635 we should enable user after creation with zfs tests Reviewed by: John Kennedy <firstname.lastname@example.org> Approved by: Joshua M. Clulow <email@example.com>