Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2013 14:37:52 +0200
From:      "Herbert J. Skuhra" <hskuhra@eumx.net>
To:        AMS_MDF_operations <AMS_MDF_operations@tele2.com>
Cc:        questions@freebsd.org
Subject:   Re: Problem creating user account
Message-ID:  <6dbb03c52c930d750627849dd7d9ba41@eumx.net>
In-Reply-To: <OF0D053457.19A0C923-ONC1257B56.003D14BA-C1257B56.003E0DA5@tele2.com>
References:  <OF0D053457.19A0C923-ONC1257B56.003D14BA-C1257B56.003E0DA5@tele2.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Den 23.04.2013 13:17, skrev AMS_MDF_operations:
> 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$

This version of FreeBSD is 9 years old and long EOL'ed.
Have you ever considered upgrading this machine?


> -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

I guess someone has modified /etc/adduser.conf or the adduser script 
after this user has been created.
Have you checked?

-- 
Herbert







Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?6dbb03c52c930d750627849dd7d9ba41>