hi guys, how can i create a username with period ? Like for example username: linux.spartacus
tia
--------------------------------- Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
spart cus wrote:
hi guys, how can i create a username with period ? Like for example username: linux.spartacus
That *might* lead to problems within application software not expecting punctuation in usernames.
Why do you want to do this? Maybe there is another solution to the problem you are trying to solve ...
Ralph
I didnt find a way to create usernames with dots, but you could create a normal user without dots and so change passwd, shadow and group by hand to the new username with dots.
On 3/2/06, Ralph Angenendt ra+centos@br-online.de wrote:
spart cus wrote:
hi guys, how can i create a username with period ? Like for example username: linux.spartacus
That *might* lead to problems within application software not expecting punctuation in usernames.
Why do you want to do this? Maybe there is another solution to the problem you are trying to solve ...
Ralph
Ralph Angenendt......ra@br-online.de | .."Text processing has made it possible Bayerischer Rundfunk...80300 München | ....to right-justify any idea, even one Programmbereich.Bayern 3, Jugend und | .which cannot be justified on any other Multimedia.........Tl:089.5900.16023 | ..........grounds." -- J. Finnegan, USC
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Cleber P. de Souza
As mentioned earlier you might run in to issues with programs have problems with the special character. If your wanting to be able to do e-mail from your box and have a dot in the name then create the entry in the alisas file.
Zeb
On 3/2/06, Cleber P. de Souza cleberps@gmail.com wrote:
I didnt find a way to create usernames with dots, but you could create a normal user without dots and so change passwd, shadow and group by hand to the new username with dots.
On 3/2/06, Ralph Angenendt ra+centos@br-online.de wrote:
spart cus wrote:
hi guys, how can i create a username with period ? Like for example username: linux.spartacus
That *might* lead to problems within application software not expecting punctuation in usernames.
Why do you want to do this? Maybe there is another solution to the problem you are trying to solve ...
Ralph
Ralph Angenendt......ra@br-online.de | .."Text processing has made it
possible
Bayerischer Rundfunk...80300 München | ....to right-justify any idea,
even one
Programmbereich.Bayern 3, Jugend und | .which cannot be justified on any
other
Multimedia.........Tl:089.5900.16023 | ..........grounds." -- J.
Finnegan, USC
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Cleber P. de Souza _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Thursday 02 March 2006 05:30, Zeb Fletcher wrote:
As mentioned earlier you might run in to issues with programs have problems with the special character. If your wanting to be able to do e-mail from your box and have a dot in the name then create the entry in the alisas file.
As an example of this:
Assume user b.jones, group "usergroup", and you want to change the ownership of file foo
chown b.jones.usergroup foo
You can use colon, but dot is still legal, and many scripts use the dot. From the man page:
If the user name is followed by a colon or dot and a group name (or numeric group ID), with no spaces between them, the group ownership of the files is changed as well.
Why would you feel you *need* a username with a dot in it?
Zeb
On 3/2/06, Cleber P. de Souza cleberps@gmail.com wrote:
I didnt find a way to create usernames with dots, but you could create a normal user without dots and so change passwd, shadow and group by hand to the new username with dots.
On 3/2/06, Ralph Angenendt ra+centos@br-online.de wrote:
spart cus wrote:
hi guys, how can i create a username with period ? Like for example username: linux.spartacus
That *might* lead to problems within application software not expecting punctuation in usernames.
Why do you want to do this? Maybe there is another solution to the problem you are trying to solve ...
Ralph
Ralph Angenendt......ra@br-online.de | .."Text processing has made it
possible
Bayerischer Rundfunk...80300 München | ....to right-justify any idea,
even one
Programmbereich.Bayern 3, Jugend und | .which cannot be justified on any
other
Multimedia.........Tl:089.5900.16023 | ..........grounds." -- J.
Finnegan, USC
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Cleber P. de Souza _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Benjamin Smith wrote:
Why would you feel you *need* a username with a dot in it?
Well, for me... I also use Webmin and it sort of suggests/defaults to this process for virtualhost. And a practice of this sort can be a good thing. Sometimes in certain situations underscores can't be seen whereas dots can, like http://my_site.com vs. http://my site.com in some applications.
Anyway, in a virtual hosting environment, the last thing you want to do is make the mistake of assigning anyone a username such as info, games, webmaster, postmaster, accounting and so on because if you do, they'll get all mail to info destined for any domain on the machine which does not have a info@ address. So, defaulting to info.domain as the user name is easy to read and easy to remember and we admins need everything to be as clear and as easy to remember as possible for our multitudes of 'forgetful' <oh it was hard to be that kind> users.
Dots work well, but likely some other char would work as well. I just haven't considered all the possibilities.
And, you can set what you want to use or to not use anything in Webmin.. so it's not really anything but what the author thought was a good idea.
Best, John Hinton
On Thursday 02 March 2006 19:00, John Hinton wrote:
Anyway, in a virtual hosting environment, the last thing you want to do is make the mistake of assigning anyone a username such as info, games, webmaster, postmaster, accounting and so on because if you do, they'll get all mail to info destined for any domain on the machine which does not have a info@ address.
Towards this end, I've long had a convention of:
1) all accounts get a 2-4 char id that's semi-descriptive. EG: "Western Oak Cabinets" might get "woc"
2) All UIDs created to satisfy that customer account get prepended with that id, then an underscore. Eg: "woc_info".
This makes it very easy to parse /etc/passwd with a script and tie it to the accounting system with a regex and a few hashes in Perl/PHP/Python. Orphaned accounts are thus almost completely transparent, since they just won't match up to a list of currently paying customer accounts.
3) An virtusertable entry is created pointing the "info@westernoakcabinets.com" to "woc_info".
All this is administered by some scripts (and some rote habit) established years ago. This has nothing particularly to do with websites, so your example of "http://my_site.com" has never come up as an issue.
-Ben