[Trac-bugs] [PC-BSD Trac] #577: User Manager deletes home directory without prompt
PC-BSD
trac at pcbsd.org
Thu Feb 16 17:01:01 PST 2012
#577: User Manager deletes home directory without prompt
---------------------------+-------------------------
Reporter: Nukama | Owner: tim
Type: System Defect | Status: new
Priority: critical | Milestone: 9.1
Component: User Manager | Version: 9.0-RELEASE
Keywords: |
---------------------------+-------------------------
This should be definitely an optional choice. There is a reason for hiding
this devastating user removal behaviour into a knob only visible after
reading manpage/help.
{{{
-r This tells pw to remove the user's home directory and
all
of its contents. The pw utility errs on the side of
cau-
tion when removing files from the system. Firstly, it
will
not do so if the uid of the account being removed is
also
used by another account on the system, and the 'home'
directory in the password file is a valid path that
com-
mences with the character `/'. Secondly, it will only
remove files and directories that are actually owned by
the
user, or symbolic links owned by anyone under the
user's
home directory. Finally, after deleting all contents
owned
by the user only empty directories will be removed. If
any
additional cleanup work is required, this is left to
the
administrator.
}}}
--
Ticket URL: <http://trac.pcbsd.org/ticket/577>
PC-BSD <http://trac.pcbsd.org>
PC-BSD Project Management
More information about the Trac-bugs
mailing list