Re: [suse-security] Problems creating usernames with dots
Hi people, 1) As you see below, quotes and others tricks didn´t work in 8.0 : XXX:~ # useradd suse\.br useradd: invalid user name 'suse.br' XXX:~ # useradd suse"."br useradd: invalid user name 'suse.br' XXX:~ # useradd "suse.br" useradd: invalid user name 'suse.br' 2) I´ve already tried to set an alias, like .qmail-suse.br . It didn´t work. 3) I know that is possible creating the users by myself in /etc/passwd , but this is not a good solution for me. I have thousands of users. I wondering what really have changed in 8.0 ? Only the useradd source code? -- ========================= José Mário Viana Network Admin SecrelNet ISP - Brazil ========================= ----- Original Message ----- From: "Bob Sutter" <bob.sutter@kobie.com> To: "Mario Viana" <marioj@secrel.com.br>; <suse-security@suse.com> Sent: Wednesday, November 20, 2002 12:57 PM Subject: RE: [suse-security] Problems creating usernames with dots I just put the name in quotes and it added it just fine. -----Original Message----- From: Mario Viana [mailto:marioj@secrel.com.br] Sent: Wednesday, November 20, 2002 8:44 AM To: suse-security@suse.com Subject: [suse-security] Problems creating usernames with dots Hello, Well, maybe it´s a little off-topic , but does anybody know why SuSE 8.0 don´t accept creating a username with dots, e.g. , while I try creating the user suse.br : # useradd suse.br useradd: invalid user name 'suse.br' I have seen all the configuration files in /etc/sysconfig, Suse DB and Google and I haven´t found anything related to this topic. =(( -- ========================= José Mário Viana Analista de Sistemas SecrelNet Infomática Ltda ========================= -- Check the headers for your unsubscription address For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
Hi Mario, as a side note: .qmail alias files use a ":" instead of a "." so if you want an alias for mario.viana you need to create a .qmail-mario:viana file. Also note that in a shell you have to quote the ":", e.g. like "echo mario@localhost > .qmail-mario\:viana". ciao Tom Mario Viana wrote:
Hi people,
1) As you see below, quotes and others tricks didn´t work in 8.0 :
XXX:~ # useradd suse\.br useradd: invalid user name 'suse.br' XXX:~ # useradd suse"."br useradd: invalid user name 'suse.br' XXX:~ # useradd "suse.br" useradd: invalid user name 'suse.br'
2) I´ve already tried to set an alias, like .qmail-suse.br . It didn´t work.
3) I know that is possible creating the users by myself in /etc/passwd , but this is not a good solution for me. I have thousands of users.
I wondering what really have changed in 8.0 ? Only the useradd source code?
--
========================= José Mário Viana Network Admin SecrelNet ISP - Brazil =========================
-- this is a maillist account, so please send personal replies to cso[at]trium[dot]de
participants (2)
-
Mario Viana
-
Thomas Seliger