From owner-freebsd-questions@FreeBSD.ORG Tue Apr 23 11:18:59 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CF1E7D4A for ; Tue, 23 Apr 2013 11:18:59 +0000 (UTC) (envelope-from ronald.van-nigtevecht@tele2.com) Received: from gw1-in.tele2.se (gw1-in.tele2.se [193.12.60.45]) by mx1.freebsd.org (Postfix) with ESMTP id 0325917C3 for ; Tue, 23 Apr 2013 11:18:57 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.87,533,1363129200"; d="scan'208";a="153148604" Received: from t2turing.t2srv.corp.tele2.com ([172.16.35.180]) by gw1-out.tele2.se with ESMTP; 23 Apr 2013 13:17:46 +0200 From: AMS_MDF_operations X-Disclaimed: 13982 To: questions@FreeBSD.org MIME-Version: 1.0 Subject: Problem creating user account X-KeepSent: 0D053457:19A0C923-C1257B56:003D14BA; type=4; name=$KeepSent Message-ID: Sender: Ronald van Nigtevecht Date: Tue, 23 Apr 2013 13:17:47 +0200 Content-Type: text/plain; charset="US-ASCII" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Apr 2013 11:18:59 -0000 LS, What is going ewrong? Problem : Creating user account -bash-2.05b$ uname -a FreeBSD us-syslog01.dcn.versatel.net 4.9-RELEASE-p10 FreeBSD 4.9-RELEASE-p10 #1: Thu Jun 24 10:04:37 GMT 2004 root@syslog1.versatel.net:/usr/obj/usr/src/sys/SYSLOG i386 -bash-2.05b$ -bash-2.05b$ sudo adduser Use option ``-silent'' if you don't want to see all warnings and questions. Check /etc/shells Check /etc/master.passwd Check /etc/group Usernames must match regular expression: [Usernames must match regular expression]: Enter your default shell: bash csh date no sh tcsh [bash]: Your default shell is: bash -> /usr/local/bin/bash Enter your default HOME partition: [/home]: Copy dotfiles from: /usr/share/skel no [/usr/share/skel]: Send message from file: /etc/adduser.message no [no]: Do not send message Use passwords (y/n) [y]: Ok, let's go. Don't worry about mistakes. I will give you the chance later to correct any input. Enter username [Usernames must match regular expression]: l-ong Username doesn't match the regexp /Usernames must match regular expression/ For this message I deleted an existing user, and try to create this same user. Also this failed, see below p-vrij:*:1010:1010:Peter Vrij:/home/p-vrij:/usr/local/bin/bash -bash-2.05b$ sudo rmuser p-vrij Password: Matching password entry: Is this the entry you wish to remove? y Remove user's home directory (/home/p-vrij)? y Updating password file, updating databases, done. Updating group file: utbackup (removing group p-vrij -- personal group is empty) done. Removing user's home directory (/home/p-vrij): done. Removing files belonging to p-vrij from /tmp: done. Removing files belonging to p-vrij from /var/tmp: done. Removing files belonging to p-vrij from /var/tmp/vi.recover: done. Enter username [Usernames must match regular expression]: p-vrij Username doesn't match the regexp /Usernames must match regular expression/ Regards, Ronald van Nigtevecht Engineer Network ll Afd. Transmission MDF Tele2 Zakelijk Postbus 22697 1100 DD Amsterdam Z-O The Netherlands T +31 (0) 20 750 2590 MDF T +31 (0) 20 750 2631 mailto:ronald.vannigtevecht@tele2.com http://www.tele2zakelijk.nl Tele2 Zakelijk is a trade name of Versatel Nederland B.V. This message and any attachment are company proprietary and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person and destroy all copies of the original message and attachment. ******** IMPORTANT NOTICE ******** This e-mail (including any attachments) may contain information that is confidential or otherwise protected from disclosure and it is intended only for the addressees. If you are not the intended recipient, please note that any copying, distribution or other use of information contained in this e-mail (and its attachments) is not allowed. If you have received this e-mail in error, kindly notify us immediately by telephone or e-mail and delete the message (including any attachments) from your system. Please note that e-mail messages may contain computer viruses or other defects, may not be accurately replicated on other systems, or may be subject of unauthorized interception or other interference without the knowledge of sender or recipient. Tele2 only send and receive e-mails on the basis that Tele2 is not responsible for any such computer viruses, corruption or other interference or any consequences thereof.