Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-04-2003, 05:33 AM   #1
Registered: Apr 2002
Distribution: Ubuntu, Arch, freeBSD, Slackware
Posts: 210

Rep: Reputation: 30
user question

I have migrated from suse to slackware and my users, usernames are like: lastname.firtsname

I've noticed that i can't craeate users with "." character.
Can it be done or not?

Thx in advanced
Old 09-04-2003, 06:24 AM   #2
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware
Posts: 263

Rep: Reputation: 31
Probably not

Try entering the proper information such as:

username: sqn
first name: sergio
last name: quintero

Please note that the user name has nothing to do with the email name, which is probably something you also have to create. Therefore, you could have the following email addresses for the user described above:

Hope this helps!
Old 09-05-2003, 12:39 AM   #3
Registered: Apr 2002
Distribution: Ubuntu, Arch, freeBSD, Slackware
Posts: 210

Original Poster
Rep: Reputation: 30
for the moment i've solved the problem like this:
Create a user normaly, and after that edit /etc/passwd and add a dot to the username.

For the moment is ok
Thx angain
Old 09-05-2003, 04:00 AM   #4
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
You can edit the adduser file, since it's just a frontend script for the useradd program. Just open /usr/sbin/adduser in your favorite editor and comment out the following lines:

elif [ ! -z "$( echo $LOGIN | grep '\.' )" ]; then
echo "- User '$LOGIN' contains illegal characters (period/dot); please choose another"
unset LOGIN

I don't know whether or not you'll have further troubles with those usernames, though.

--- Cerbere

Last edited by Cerbere; 09-05-2003 at 04:02 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
New User Question... Nith Mandriva 6 09-13-2005 01:08 AM
User configuration question jedimastermopar Linux - General 2 08-04-2004 01:23 PM
User account question ! suakki Linux - Software 2 05-03-2004 05:56 PM
Postfix email user & linux user question. hct224 Linux - Newbie 0 11-29-2003 11:24 PM
RH 8 User Acct Question Transition Red Hat 2 09-01-2003 10:39 PM

All times are GMT -5. The time now is 07:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration