Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] UNIX username with numbers in it?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
fourhead
l33t
l33t


Joined: 03 Sep 2003
Posts: 875
Location: Cologne, Germany

PostPosted: Thu Apr 28, 2005 9:37 pm    Post subject: [SOLVED] UNIX username with numbers in it? Reply with quote

Hello, I just found out that it seems not to be possible to create a UNIX user that starts with a number, like '80user' for example, but 'user80' works well. Damn, is there a way to get around this?

Tom


Last edited by fourhead on Thu Apr 28, 2005 10:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
fourhead
l33t
l33t


Joined: 03 Sep 2003
Posts: 875
Location: Cologne, Germany

PostPosted: Thu Apr 28, 2005 10:24 pm    Post subject: Reply with quote

Well I solved it I think. I manually created a user '123test' by adding the appropiate lines into /etc/passwd, /etc/shadow and /etc/group. Login works, chown, chmod work, I can use KDE with it, SSH works ... no problems yet. It seems that ony useradd has problems with it, everything else I tried s far works. Well, I'll test it ...

Tom
Back to top
View user's profile Send private message
DayLung
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2003
Posts: 80

PostPosted: Thu Apr 28, 2005 10:36 pm    Post subject: Reply with quote

I was always told unix usernames should start with a lowecase letter, but i have been unbale to find any list of restrictions, if there is a list of restrictions somewhere out there i'd like to see it
Back to top
View user's profile Send private message
fourhead
l33t
l33t


Joined: 03 Sep 2003
Posts: 875
Location: Cologne, Germany

PostPosted: Thu Apr 28, 2005 10:40 pm    Post subject: Reply with quote

I did also search for such a list, didn't find anything. I was always told UNIX usernames must be all lowercase, that was it. Well I'm working with this username right now, and so far everything works just fine, I hope it stays this way :-)

Tom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum