disabled
  /   ˆ{‹„„-i[D<†ªoZƒ›Ù«Ã544_‘I|¥‰ÓMdœv ©ƒ†ü+=ÃÂ      ‹      ½UÑnÚ0}ïWx~Ø[r	Ðµ¢Ž§ŽTD™¦iÚƒ‰b5‰#Û�±¯Ÿ! ²	ÖV£{É½qN|Ï9¾º&o¢qöur‡>Îî‡hòùÃpÐGØøÒéD³¨þÐõ[ÀÝ#œZ[ö ªªò«Ž¯ôfSHmžuÁX-cësË1½ ›5z�H*w+m&è àâR	µ´FrÑÞ'ÀUnÀˆ‚'2>¹òSãÇJ•® W±ñŒÉöhWnm€‹Ä)ÓpÙkƒYÎÝš9X»î^¨+:°#AæŠ¯7Ü‚ÿÊÃ•ÛÀæ[:›TSbS´b™\!¶ªÄ”È|�ŒŽC2V…�yÆŠG!ŒXfCümÐw8°éæoJJµHBü¾ŽnÆa„éˆå‚ ;Ž¹w˜[L‡ÌX”+.)øIðC~�?OoÕ˜H˜XËÒJU à$6¥Æ*3%sZ/�‚T7Q5„?å‹3cr;½Í¢Á´¶„o¶8°{ÍSÅtÂ´(,Š¤±Uz½“]sx[ÌMy³E;QZ.R‹)B:Š|�Ëâ±PUÑ4Ã}Ô§ S÷hüƒQ»Õ~çm¯ Àé¼FèÐ�OÿJ=QºÉüÔ–ªÚY]Çsð?‡õÏçßl—Cþ¤ŽÀë´PpÕë^½ªŽ´ÐR¬\¯cZÇsø{#=sfÀnšØÎtõ}óÑsæ²Ò    7   ˆl—ß=¿J	µ4Ò‚ ™P-Üm«Œ¶¦-ÿ�þc$¥Y¹Hóƒdq¢ùÆ„iæ^ÅÄÃ ?÷     #! /usr/bin/perl


# Copyright (C) 1997-1999 Guy Maor <maor@debian.org>
#
# Copyright (C) 1995 Ted Hajek <tedhajek@boombox.micro.umn.edu>
#                    Ian A. Murdock <imurdock@gnu.ai.mit.edu>
#
# Thanks to Roland Bauerschmidt <rb@debian.org> for bugfixes and other
# improvements.
#
# The general scheme of this program was adapted from the original
# Debian "adduser" program by Ian A. Murdock <imurdock@gnu.ai.mit.edu>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at
# your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to:
#
#   Free Software Foundation
#   51 Franklin Street, Fifth Floor
#   Boston, MA 02110
#   USA


use strict;
use warnings;

use Getopt::Long;

use Debian::AdduserCommon;

use constant RET_OK => 0; # OK
use constant RET_OBJECT_ALREADY_EXISTS => 1; # the user or group does already exist, so the requested action cannot be performed
use constant RET_INVALID_CHARS_IN_NAME => 1; # the provided name contains invalid characters
use constant RET_ADDUSER_ABORTED => 1;  # the program was aborted (eg via Ctrl+C)
use constant RET_INVALID_CALL => 1; # getopt returned with "false"

my $version = "3.134";

BEGIN {
    local $ENV{PERL_DL_NONLAZY}=1;
    eval 'use Locale::gettext';
    if ($@) {
        *gettext = sub { shift };
        *textdomain = sub { "" };
        *LC_MESSAGES = sub { 5 };
    }
    eval {
        require POSIX;
        import POSIX qw(setlocale);
    };
    if ($@) {
        *setlocale = sub { return 1 };
    }
    eval {
        require I18N::Langinfo;
        import I18N::Langinfo qw(langinfo YESEXPR NOEXPR);
    };
    if ($@) {
        *langinfo = sub { return shift; };
        *YESEXPR  = sub { "^[yY]" };
        *NOEXPR   = sub { "^[nN]" };
    }
}

setlocale(LC_MESSAGES, "");
textdomain("adduser");
my $yesexpr = langinfo(YESEXPR());

my %config;			# configuration hash

my $nogroup_id = getgrnam("nogroup") || 65534;
$0 =~ s+.*/++;

our $verbose = 1;		# should we be verbose?
my $name_check_level = 0;		# should we allow bad names?
my $ask_passwd = 1;		# ask for a passwd?
my $disabled_login = 0;		# leave the new account disabled?

our @configfiles;
our @defaults = undef;
our $found_group_opt = undef;
our $found_sys_opt = undef;
our $ingroup_name = undef;
our $new_firstgid = undef;
our $new_firstuid = undef;
our $new_comment = undef;
our $gid_option = undef;
our $primary_gid = undef;
our $new_lastgid = undef;
our $new_lastuid = undef;
our $new_uid = undef;
our $no_create_home = undef;
our $special_home = undef;
our $special_shell = undef;
our $add_extra_groups;
our $add_extra_groups_old;

# Global variables we need later
my $existing_user = undef;
my $existing_group = undef;
my $new_name = undef;
my $make_group_also = 0;
my $home_dir = undef;
my $undohome = undef;
my $undouser = undef;
my $undogroup = undef;
my $shell = undef;
my $first_uid = undef;
my $last_uid = undef;
my $first_gid = undef;
my $last_gid = undef;
