[SuSE Linux] size of user names
I have an Suse Linux (5.2 with some patches and kernel updates). I want to have users names longer than 8 characters, but the useradd program does not allow longer names. As I saw in the useradd source files, the program takes the max length of hte user-name from a utmp.h header file, which indeed has a 8 character restriction. How can I increase the length of the user name?? Do I need to recompile the useradd sources with a changed utmp.h file??? And what for is this utmp.h???? Any help??? Stefanos Karasavvidis stefos@multimedia-sa.gr </PRE> <PRE> begin:vcard n:Karasavvidis;Stefanos tel;fax:+30 821 88427 tel;work:+30 821 88447 x-mozilla-html:TRUE url:<A HREF="http://www.multimedia-sa.gr"><A HREF="http://www.multimedia-sa.gr</A">http://www.multimedia-sa.gr</A</A>> org:Multimedia Systems Center S.A. adr:;;Kissamou 178;Chania;;73100;Hellas version:2.1 email;internet:stefos@multimedia-sa.gr title:Electronics & Computer Engineer x-mozilla-cpt:;-1 fn:Stefanos Karasavvidis end:vcard
At 10:46 AM 1/7/99 +0200, you wrote:
I have an Suse Linux (5.2 with some patches and kernel updates). I want to have users names longer than 8 characters, but the useradd program does not allow longer names.
As I saw in the useradd source files, the program takes the max length of hte user-name from a utmp.h header file, which indeed has a 8 character restriction. How can I increase the length of the user name?? Do I need to recompile the useradd sources with a changed utmp.h file???
And what for is this utmp.h????
Any help???
You can do this, but a whole host of other problems will prbably bite you. See, other programs sometimes assume the 8 char limit as well, and if they get more, they puke. FreeBSD has this problem as well and it's for the same reason. Here is their explaination: <A HREF="http://www.freebsd.org/FAQ/FAQ226.html#226"><A HREF="http://www.freebsd.org/FAQ/FAQ226.html#226</A">http://www.freebsd.org/FAQ/FAQ226.html#226</A</A>> lunaslide * PGP key->pgpkeys.mit.edu port 11371 * * * * * * * When you say Windows NT, I don't exactly think of hot chicks. * -Lin-Ann Ching * * * * * * * * - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
lunaslide wrote:
At 10:46 AM 1/7/99 +0200, you wrote:
I have an Suse Linux (5.2 with some patches and kernel updates). I want to have users names longer than 8 characters, but the useradd program does not allow longer names.
As I saw in the useradd source files, the program takes the max length of hte user-name from a utmp.h header file, which indeed has a 8 character restriction. How can I increase the length of the user name?? Do I need to recompile the useradd sources with a changed utmp.h file???
And what for is this utmp.h????
Any help???
You can do this, but a whole host of other problems will prbably bite you. See, other programs sometimes assume the 8 char limit as well, and if they get more, they puke. FreeBSD has this problem as well and it's for the same reason. Here is their explaination:
<A HREF="http://www.freebsd.org/FAQ/FAQ226.html#226"><A HREF="http://www.freebsd.org/FAQ/FAQ226.html#226</A">http://www.freebsd.org/FAQ/FAQ226.html#226</A</A>>
Why is it Red Hat allows for large usernames without problems? I've heard it has to do with Red Hat using glibc. George - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
At 05:51 AM 1/8/99 -1000, you wrote:
lunaslide wrote:
At 10:46 AM 1/7/99 +0200, you wrote:
I have an Suse Linux (5.2 with some patches and kernel updates). I want to have users names longer than 8 characters, but the useradd program does not allow longer names.
As I saw in the useradd source files, the program takes the max length of hte user-name from a utmp.h header file, which indeed has a 8 character restriction. How can I increase the length of the user name?? Do I need to recompile the useradd sources with a changed utmp.h file???
And what for is this utmp.h????
Any help???
You can do this, but a whole host of other problems will prbably bite you. See, other programs sometimes assume the 8 char limit as well, and if they get more, they puke. FreeBSD has this problem as well and it's for the same reason. Here is their explaination:
<A HREF="http://www.freebsd.org/FAQ/FAQ226.html#226"><A HREF="http://www.freebsd.org/FAQ/FAQ226.html#226</A">http://www.freebsd.org/FAQ/FAQ226.html#226</A</A>>
Why is it Red Hat allows for large usernames without problems? I've heard it has to do with Red Hat using glibc.
Perhaps Red Hat has done the necessary plumbing to make longer user names work. It would have to involve more than just glibc. lunaslide * PGP key->pgpkeys.mit.edu port 11371 * * * * * * * When you say Windows NT, I don't exactly think of hot chicks. * -Lin-Ann Ching * * * * * * * * - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Hi, I have a user with 13 char in user name including a "-". Works fine. You can not login if you specify only 8 characters of his uid. -alexm On Fri, 8 Jan 1999, lunaslide wrote:
At 10:46 AM 1/7/99 +0200, you wrote:
I have an Suse Linux (5.2 with some patches and kernel updates). I want to have users names longer than 8 characters, but the useradd program does not allow longer names.
As I saw in the useradd source files, the program takes the max length of hte user-name from a utmp.h header file, which indeed has a 8 character restriction. How can I increase the length of the user name?? Do I need to recompile the useradd sources with a changed utmp.h file???
And what for is this utmp.h????
Any help???
You can do this, but a whole host of other problems will prbably bite you. See, other programs sometimes assume the 8 char limit as well, and if they get more, they puke. FreeBSD has this problem as well and it's for the same reason. Here is their explaination:
<A HREF="http://www.freebsd.org/FAQ/FAQ226.html#226"><A HREF="http://www.freebsd.org/FAQ/FAQ226.html#226</A">http://www.freebsd.org/FAQ/FAQ226.html#226</A</A>>
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Hi:-) alexm wrote:
Hi,
I have a user with 13 char in user name including a "-". Works fine. You can not login if you specify only 8 characters of his uid.
Yes, and I have a user with 9 characters in her name. The only problem that I ran into as far as that goes was in creating the login script. Using the linux editors (vi and/or the built in editor for midnight commander), The login script created wouldn't work because apparently the linux editor does not create the newlines that "dos batch files do using chr$(13), instead, the edited script shows up in win95/dos as one single line which cannot be executed. Then when you go in with a dos editor and break up the line into separate lines, well, then the dos editor shortens the filename to the old 8/3 format. But by going back into linux and renaming the script file back to the 9.3 name in accordance with the samba specs, well, then when they log into the win95 machine, it finds the script and it runs ok (win95 can read long filenames, just can't save em unless it is on a win95 partition). I'm not real sure how userad works because generally when I do user maintenance I do it via yast:-) And it does accept user names longer than 8 characters:-)
On Fri, 8 Jan 1999, lunaslide wrote:
At 10:46 AM 1/7/99 +0200, you wrote:
I have an Suse Linux (5.2 with some patches and kernel updates). I want to have users names longer than 8 characters, but the useradd program does not allow longer names.
-- cya l8r Leon McClatchey leonmcclatchey@homemail.com Linux User 78912 (Win95 Box) - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (5)
-
alexm@quake.tx.symbio.net
-
leonmcclatchey@homemail.com
-
LinuxAdvocate@iname.com
-
lunaslide@pacbell.net
-
stefos@multimedia-sa.gr