freebsd-dev/usr.sbin/pw/tests
Baptiste Daroussin a75f9261d6 pw: do not removed home directories if not owned
When deleting a user, if its home directory does not belong to it, it should
not be removed. This is the promise that the manpage makes, the tool should
ensure that it respects that promise.

Add a regression test about it

PR:		244967
Submitted by:	Eric Hanneken <eric@erichanneken.com>
MFC after:	3 days
2020-03-23 08:23:22 +00:00
..
crypt.c
group
helper_functions.shin
Makefile
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
master.passwd
pw_config_test.sh
pw_etcdir_test.sh
pw_groupadd_test.sh
pw_groupdel_test.sh
pw_groupmod_test.sh
pw_groupshow_test.sh
pw_lock_test.sh
pw_useradd_test.sh pw: fix the checks in boolean_str() after r326738. Add related test 2018-10-21 14:23:56 +00:00
pw_userdel_test.sh pw: do not removed home directories if not owned 2020-03-23 08:23:22 +00:00
pw_usermod_test.sh
pw_usernext_test.sh
pw_usershow_test.sh
pw-modified.conf
pw.conf