Hello,

Am Dienstag, den 03.07.2012, 13:26 +0400 schrieb Alexander V. Lukyanov:

> >    for example,  if I have PC A, B with the same master.passwd.
> >    They all have one line:
> >    9100075:*:3018:1001::0:0:REALNAME:/home/9100075:/usr/local/bin/bash
> >    => username = 9100075,  uid = 3018.    and uid=9100075 doesn't exist.
> 
> I think it is forbidden to have a user name starting with a digit.
> pwck should warn about it.

afaik this limitation isn't true anymore:

$ sudo useradd 1test
$ sudo passwd 1test
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
$ id 1test
uid=1001(1test) gid=1001(1test) groups=1001(1test)

The regex for usernames in the past was "^[a-z][-a-z0-9]*\$" but I have
no idea where or who defines this (POSIX).

-- 
Noël Köthe <noel debian.org>
Debian GNU/Linux, www.debian.org

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
lftp mailing list
[email protected]
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to