Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: user creation

user creation 10 years 7 months ago #14480

  • gainil
  • gainil's Avatar
  • Offline
  • Frequent Member
  • Posts: 52
  • Karma: 0
Hi,

I am using Redhat 9 (2.4.20). I can not add user name with a dot (firstname.lastname) says Invalid username.

Also it dosent take undescores (firstname_lastname)

how can this issue be resolved??

Regards
The administrator has disabled public write access.

Re: user creation 10 years 7 months ago #14490

  • nske
  • nske's Avatar
  • Offline
  • Expert Member
  • Posts: 613
  • Karma: 0
The dot and underscore characters are perfectly valid for the authentication system, which means that is propably a limitation enforced by redhat's add-user script.

Try using the /usr/sbin/useradd program to add users instead.
The administrator has disabled public write access.

Re: user creation 10 years 7 months ago #14497

  • gainil
  • gainil's Avatar
  • Offline
  • Frequent Member
  • Posts: 52
  • Karma: 0
Hi NSKE,

Thanks for the reply,

but sadly adduser program too not working it too gives the same error, i tried on 3 pcs same error.

Cany anyone help???

Regards
The administrator has disabled public write access.

Re: user creation 10 years 7 months ago #14499

  • nske
  • nske's Avatar
  • Offline
  • Expert Member
  • Posts: 613
  • Karma: 0
Hello,

You are right, after a little googling it turns out this is an unresolved bug of Redhat 9. The problem lies in the Shadow-utils RPM, however a fixed version is not available (and it never will since redhat 9 is unsupported).

You could try to upgrade the Shadow program manually, however because many things have changed since redhat 9 was abandoned, it is very possible that something will break.

Of course you can still enter users manually by editing the etc/passwd and etc/shadow files (or automate it with some script).

The only other solution I've found, is install the libuser program which provides an alternative to useradd (named "luseradd").
The administrator has disabled public write access.

Re: user creation 10 years 7 months ago #14521

  • gainil
  • gainil's Avatar
  • Offline
  • Frequent Member
  • Posts: 52
  • Karma: 0
Hi,

Thanks for the update.

FYI

if you add user as firstname.last name or FirstNameLastName in Fedora Core4, It allows u to add, but while doing any changes from GUI it gives error "the user name contains puncuation character, Please do not use puncuation in username"

may be this still is a bug.

Regards
The administrator has disabled public write access.
Time to create page: 0.080 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup