[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ITP: deluser



Hello,

I wrote a program called 'deluser' that is a excat equivalent to
'adduser'. This was proposed some time ago on debian-user-de and I
proposed it here too.

Features:
 . removing of groups and users
 . removing of users from groups
 . removing the home-directory and mail-spool as option
 . removing all files on the system owned by the user as option
 . backuping all files before removing them as option
 . executing /usr/local/sbin/deluser.local if exists

deluser can be invoked as 'deluser' or 'delgroup' like 'adduser' and
'addgroup'. delgroup is equivalent to deluser --group. Here is a
complete overview how deluser can be invoked:

deluser user
   remove a normal user from the system
   example: deluser mike

   --remove-home             remove the users home directory and mail
                             spool
   --remove-all-files        remove all files owned by user
   --backup                  backup files before removing

delgroup group
deluser --group group
   remove a system group from the system
   example: deluser --group students

deluser user group
   remove the user from a group
   example: deluser mike students

general options:

   --quiet | -q      don't give process information to stdout
   --help | -h       usage message
   --version | -v    version number and copyright
   --conf | -c FILE  use FILE instead of /etc/deluser.conf

The configuration files and the help text is not implemented yet, but
that should be very easy. The source code is based on adduser's source
code and looks very simelar. This made it easier to make the program to
behave the same like adduser as I could reuse a lot of functions with
only tiny modifications.

As I'm still in the application process I suppose my sponsor Torsten
Landschoff will upload it to woody. I wonder in which section to put it
and which priority to choose. What do you think?

Any other suggestions or comments?

Greetings, Roland

-- 
Roland Bauerschmidt -- Freiberger Str. 17, 28215 Bremen, Germany
e-mail: roland@copyleft.de, phone: +49 421 3763482, fax: +49 421 3763483

Debian GNU / Linux -- the choice of a GNU generation


Reply to: