Subject: CVS commit: basesrc
To: None <firstname.lastname@example.org>
From: Simon Burge <email@example.com>
Date: 10/17/2000 07:53:28
Module Name: basesrc
Committed By: simonb
Date: Tue Oct 17 04:53:28 UTC 2000
Use flags to set which parts of a passwd entry are to be changed.
Before removing the home directory of a user check that
+ the user does not have uid 0
+ the user is the owner of the directory.
and remove the files using the effective user-id of the user. Show
a warning if the directory is not removed.
Use asprintf and fgetln for some string work to remove arbitary string
Fixes for PRs bin/11100 and bin/11103.
To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 basesrc/usr.sbin/user/user.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.