For the password: have a look at /etc/login.defs: # # Number of significant characters in the password for crypt(). # Default is 8, don't change unless your crypt() is better. # Ignored if the "md5" or "blowfish" option is given to the # pam_pwcheck module. # PASS_MAX_LEN 8 For the "dotted" name the only solution I know is to rename the username after adding her/ him to the system in /etc... -- Eat, sleep and go running, David Huecking. Encrypted eMail welcome! GnuPG/ PGP-Key: 0x57809216. Fingerprint: 3DF2 CBE0 DFAA 4164 02C2 4E2A E005 8DF7 5780 9216 On Fri, 28 Mar 2003, lars wrote:
on a suse linux 8.1 box, doing
useradd -s /bin/false -d /... and-so-on ... b.richards
to add a mailuseraccount, I always got the reply:
invalid username
The same with
useradd -s /bin/false -d /... and-so-on b\.richards
OK, then I´m typing ³useradd brichards², editing the /etc/passwd as well as /etc/shadow (e.g. setting in the dot manually), then typing in the password, but then ... the client sometimes gets an errormessage from postfix - sometimes it works fine. I found out that in case of unvalid usernames always almost a ³!² is shown in the second field in /etc/shadow-uservalue-lines (where there have to be the shadowed password).
everything works fine with usernames without a dot.
I tried hard to find some informations about this, but the only restriction valid for all shels seemed to be avoiding ³:² and ³/² in usernames.
[...]
Btw: how can I change the length of a password to a value higher than 8? Possible at all on a bash or tcsh?