Author: zugschlus Date: 2005-03-18 17:58:14 +0100 (Fri, 18 Mar 2005) New Revision: 220 Modified: trunk/adduser trunk/debian/changelog trunk/deluser Log: * Zap program synopsis comments from the beginning. We have that information in the usage() subroutines and in the manpages. Having it a third time will only cause errors. Modified: trunk/adduser ==================================================================--- trunk/adduser 2005-03-18 16:41:57 UTC (rev 219) +++ trunk/adduser 2005-03-18 16:58:14 UTC (rev 220) @@ -28,47 +28,8 @@ # # #################### -# the program can be called as: -# -# adduser [--home DIR] [--shell SHELL] [--uid ID] [--firstuid ID] -# [--lastuid ID] [--ingroup GROUP | --gid ID] [--disabled-password] -# [--disabled-login] [--gecos GECOS] [--no-create-home] user -# add a normal user to the system -# example: adduser fred -# $action = "adduser" -# -# adduser --group [--gid ID] group -# addgroup [--gid ID] group -# add a user group -# example: addgroup powerusers -# $action = "addgroup" -# -# adduser --group --system [--gid GID] group -# addgroup --system [--gid GID] group -# add a system group -# example: addgroup --system --quiet www-data -# $action = "addsysgroup" -# -# adduser --system [--home DIR] [--shell SHELL] [--uid ID] [--group | -# --ingroup GROUP | --gid ID] [--disabled-password] [--disabled-login] -# [--gecos GECOS] [--no-create-home] user -# add a system user. Create a like-named, like-id''d group with -# --group, add to an existing group with --ingroup or --gid. Add -# to "nogroup" with neither. -# example: adduser --system --home /home/gopher-data --group gopher -# $action = "addsysuser" -# -# adduser user group -# add the existing user to an existing group. -# $action = "addusertogroup" -# -# all commands take the following options: -# --quiet don''t give progress information on STDOUT -# --force-badname disable checking of names for funny characters -# --help usage message -# --version version number and copyright -# --conf FILE use FILE instead of /etc/adduser.conf -############ +# See the usage subroutine for explanation about how the program can be called +#################### use warnings; use Debian::AdduserCommon; Modified: trunk/debian/changelog ==================================================================--- trunk/debian/changelog 2005-03-18 16:41:57 UTC (rev 219) +++ trunk/debian/changelog 2005-03-18 16:58:14 UTC (rev 220) @@ -7,8 +7,9 @@ Hans Fredrik Nordhaug. (mh) * Now handles /etc/skel correctly even if it is not readable for a normal user. Thanks to Chapko Dimitrij. (mh) Closes: #299489 + * Zap program synopsis comments from the beginning. - -- Marc Haber <mh+debian-packages@zugschlus.de> Fri, 18 Mar 2005 16:38:14 +0000 + -- Marc Haber <mh+debian-packages@zugschlus.de> Fri, 18 Mar 2005 16:55:47 +0000 adduser (3.63) unstable; urgency=low Modified: trunk/deluser ==================================================================--- trunk/deluser 2005-03-18 16:41:57 UTC (rev 219) +++ trunk/deluser 2005-03-18 16:58:14 UTC (rev 220) @@ -24,42 +24,9 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# the program can be called as: -# -# deluser user -# remove a normal user from the system -# example: deluser mike -# $action = "deluser" -# -# --remove-home remove the users home directory and mail spool -# --remove-all-files remove all files owned by user -# --home <dir> remove home only if /etc/passwd home dir -# matches directory given here -# --backup backup files before removing. -# --backup-to <dir> target directory for the backups. -# Default is the current directory. -# --system only remove if system user -# -# delgroup group -# deluser --group group -# remove a group from the system -# example: deluser --group students -# $action = "delgroup" -# -# --system only remove if system group -# --only-if-empty only removes group if no members left -# -# deluser user group -# remove the user from a group -# example: deluser mike students -# $action = "deluserfromgroup" -# -# 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 +#################### +# See the usage subroutine for explanation about how the program can be called +#################### $ENV{"PATH"} = "/sbin:/bin:/usr/sbin:/usr/bin";