Hello List:
I am new to this list and this is my first posting.
Presently, I am using Red Hat 9.0 and soon planning to switch over to CentOS. I have one question. In RH user names can not contain special characters. For example my UID is 'kbajwa' and my email address is kbajwa@tibonline.net. Since '@' in the email address is a special character, I can not use my email as my UID.
Can I use email address as UID in CentOS?
Kirti
On 1/6/06, Kirti S. Bajwa kbajwa@tibonline.net wrote:
Hello List:
I am new to this list and this is my first posting.
Presently, I am using Red Hat 9.0 and soon planning to switch over to CentOS. I have one question. In RH user names can not contain special characters. For example my UID is 'kbajwa' and my email address is kbajwa@tibonline.net. Since '@' in the email address is a special character, I can not use my email as my UID.
Can I use email address as UID in CentOS?
My god it's a flashback to the OTHER thread I was just reading... To answer your question, no. It won't work in centos or rhel.
-- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center
Hello:
Yes, I just noticed the other thread. I think two people were working on the same problem.
We are going to outsource our dial-in. Therefore, we are required to include UID & out URL so the realm can be identified. Using email address is simple and easy! Any suggestions?
Kirti
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Jim Perrin Sent: Friday, January 06, 2006 10:56 AM To: CentOS mailing list Subject: Re: [CentOS] User ID's with Special Characters??
On 1/6/06, Kirti S. Bajwa kbajwa@tibonline.net wrote:
Hello List:
I am new to this list and this is my first posting.
Presently, I am using Red Hat 9.0 and soon planning to switch over to CentOS. I have one question. In RH user names can not contain special characters. For example my UID is 'kbajwa' and my email address is kbajwa@tibonline.net. Since '@' in the email address is a special
character,
I can not use my email as my UID.
Can I use email address as UID in CentOS?
My god it's a flashback to the OTHER thread I was just reading... To answer your question, no. It won't work in centos or rhel.
-- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
You don't need Linux authentication for that. You can use Radius, with some other backend, like MySQL. In that case, the Userid can be whatever you like for RAS authentication.
On Fri, Jan 06, 2006 at 12:35:16PM -0500, Kirti S. Bajwa wrote:
Hello:
Yes, I just noticed the other thread. I think two people were working on the same problem.
We are going to outsource our dial-in. Therefore, we are required to include UID & out URL so the realm can be identified. Using email address is simple and easy! Any suggestions?
Kirti
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Jim Perrin Sent: Friday, January 06, 2006 10:56 AM To: CentOS mailing list Subject: Re: [CentOS] User ID's with Special Characters??
On 1/6/06, Kirti S. Bajwa kbajwa@tibonline.net wrote:
Hello List:
I am new to this list and this is my first posting.
Presently, I am using Red Hat 9.0 and soon planning to switch over to CentOS. I have one question. In RH user names can not contain special characters. For example my UID is 'kbajwa' and my email address is kbajwa@tibonline.net. Since '@' in the email address is a special
character,
I can not use my email as my UID.
Can I use email address as UID in CentOS?
My god it's a flashback to the OTHER thread I was just reading... To answer your question, no. It won't work in centos or rhel.
-- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
- -- Rodrigo Barbosa rodrigob@suespammers.org "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
} -----Original Message----- } From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On } Behalf Of Kirti S. Bajwa } Sent: Friday, January 06, 2006 9:35 AM } To: 'CentOS mailing list' } Subject: RE: [CentOS] User ID's with Special Characters?? } } Hello: } } Yes, I just noticed the other thread. I think two people were working on } the same problem. } } } We are going to outsource our dial-in. Therefore, we are required to } include UID & out URL so the realm can be identified. Using email } address is simple and easy! Any suggestions? } } Kirti }
consider and use RADIUS
freeradius is part of the CentOS distro
before you
yum install freeradius
i would check and research around the www and see if freeradius supports "realms" if you want to be tricky and support other ISPs authentication with your server
OR
just setup RADIUS to look at your password file
piece of cake huh?
- rh
- rh
-- Robert Hanson - Abba Communications Computer & Internet Services (509) 624-7159 - www.abbacomm.net
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Robert Hanson Sent: Friday, January 06, 2006 2:30 PM To: 'CentOS mailing list' Subject: RE: [CentOS] User ID's with Special Characters??
consider and use RADIUS
I am using freeRADIUS. Please explain what do you mean by your above statement?
Kirti
} } I am using freeRADIUS. Please explain what do you mean by your above } statement? } } Kirti
i didnt look at your original post to verify if i am meeting your needs as i only have a second here...
*some* RADIUS software distros can be setup so that when a NAS sends a request to it for authentication of say
someuser@somedomain.com and whateverpassword
then the RADIUS server can strip the @somedomain.com off (which in most places is called a REALM) and then look in the /etc/passwd file and authenticate from the login and password entries in the /etc/passwd file
in other words, the RADIUS file doesnt have to be populated with any info except "setup" and where to go to get the info it needs
make more sense now?
- rh
-- Robert Hanson - Abba Communications Computer & Internet Services (509) 624-7159 - www.abbacomm.net
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, Jan 06, 2006 at 02:15:30PM -0800, Robert Hanson wrote:
} I am using freeRADIUS. Please explain what do you mean by your above } statement?
i didnt look at your original post to verify if i am meeting your needs as i only have a second here...
*some* RADIUS software distros can be setup so that when a NAS sends a request to it for authentication of say
someuser@somedomain.com and whateverpassword
then the RADIUS server can strip the @somedomain.com off (which in most places is called a REALM) and then look in the /etc/passwd file and authenticate from the login and password entries in the /etc/passwd file
in other words, the RADIUS file doesnt have to be populated with any info except "setup" and where to go to get the info it needs
make more sense now?
That is no good. What he needs is using RADIUS with a different backend, instead of /etc/passwd. I recomend MySQL.
[]s
- -- Rodrigo Barbosa rodrigob@suespammers.org "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
} } That is no good. What he needs is using RADIUS with a different backend, } instead of /etc/passwd. I recomend MySQL. } } []s } } - -- } Rodrigo Barbosa rodrigob@suespammers.org
i went back and looked at orig post.
he mentioned the @ character... not the other special char garbage
it fits the bill very nicely especially since admitting he is using radius
and your SQL solution works will work well too if "serious scale" is needed or if other special chars are needed...
remember, there were two competing threads. :-)
- rh
Robert Hanson - Abba Communications Computer & Internet Services (509) 624-7159 - www.abbacomm.net
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, Jan 06, 2006 at 02:49:46PM -0800, Robert Hanson wrote:
} That is no good. What he needs is using RADIUS with a different backend, } instead of /etc/passwd. I recomend MySQL. } } []s } } - -- } Rodrigo Barbosa rodrigob@suespammers.org
i went back and looked at orig post.
he mentioned the @ character... not the other special char garbage
it fits the bill very nicely especially since admitting he is using radius
and your SQL solution works will work well too if "serious scale" is needed or if other special chars are needed...
remember, there were two competing threads. :-)
Yes. The main reasons for using a different backend like MySQL is that: - - You don't need to have local users, which improves control and security - - You can have multiple domains after @, each with a different group of users.
Best Regards,
- -- Rodrigo Barbosa rodrigob@suespammers.org "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, Jan 06, 2006 at 10:05:33PM -0200, Rodrigo Barbosa wrote:
On Fri, Jan 06, 2006 at 02:49:46PM -0800, Robert Hanson wrote:
} That is no good. What he needs is using RADIUS with a different backend, } instead of /etc/passwd. I recomend MySQL.
i went back and looked at orig post.
he mentioned the @ character... not the other special char garbage
it fits the bill very nicely especially since admitting he is using radius
and your SQL solution works will work well too if "serious scale" is needed or if other special chars are needed...
remember, there were two competing threads. :-)
Yes. The main reasons for using a different backend like MySQL is that:
- You don't need to have local users, which improves control and security
- You can have multiple domains after @, each with a different group
of users.
Almost forgot: - - Easy to implement replication :)
[]s
- -- Rodrigo Barbosa rodrigob@suespammers.org "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)