bugGNU Screen - Bugs: bug #21653, LoginName too long - sorry.


bug #21653: LoginName too long - sorry.

Submitted by:  None
Submitted on:  Tue 27 Nov 2007 07:25:36 PM UTC  
Votes:  250  
Category: Crash/Freeze/InfloopSeverity: 3 - Normal
Priority: 6Status: Fixed
Privacy: PublicAssigned to: Jessica McKellar <jesstess>
Open/Closed: ClosedRelease: None
Fixed Release: NonePlanned Release: Later
Work Required: 0 - Hours

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

 Spam posted by oopasp3zine88
Thu 22 Oct 2015 07:44:01 PM UTC, comment #9:

Hello. I utilized this site along with this site here http://superuser.com/questions/566697/use-of-screen-on-terminal-is-blocked-by-length-of-user-name to resolve the long login name bug in OSX 10.9 and 10.10. I recently updated to 10.11 and have the problem back, however now I am unsuccessful at patching and making a new screen in this version of OSX that will work with my "long" username. I have also tested this method https://gist.github.com/4np/5111826 which is also unsuccessful for me. I am wondering if Jessica or anyone else here has had success or can help out (I am NOT a developer - yet ;) . I am also curious if Amadeusz can expound upon the edting of the os.h header user defineable section - what should be edited? I see three sections: TERMCAP_BUFSIZE, MAXPATHLEN, and IOSIZE. Thank you.

XeL <x3lph0r>
Mon 08 Jun 2015 10:21:34 AM UTC, comment #8:

So, can we close this bugreport?

Alexander Naumov <anaumov>
Project Administrator
Wed 23 Apr 2014 06:55:55 PM UTC, comment #7:

Fixed in screen-v4 branch - login can have up to 256 characters.
If users need longer they should edit os.h header in user defines part near bottom.

Amadeusz Sławiński <amade>
Project Administrator
Mon 15 Jul 2013 06:27:14 PM UTC, comment #6:

I hope this isn't too off-topic, but since the last two comments asked, the "workaround" for OpenShift is to use tmux instead of screen.

Andy Grimm <agrimm>
Sat 23 Feb 2013 09:35:27 PM UTC, comment #5:

+1 I'm on OpenShift as well and really need screen. Is there any known workaroun?

Wed 22 Aug 2012 06:01:57 PM UTC, comment #4:

I get this error message when I try running screen after I sshd on my Redhat OpenShift machine. An OpenShift username is typically 33 characters long, being a random UUID like a7e8a7b8573e4eb26b52d36e4c875f12 .

Ab Dull <abdull>
Tue 27 Oct 2009 04:11:35 PM UTC, comment #3:

Any hope of getting this fixed? Pretty please? It's such a silly limitation, and makes this great program completely and utterly unusable because of it.

Sun 06 Sep 2009 01:59:02 PM UTC, comment #2:

Since the linked URL currently returns an internal server error, I'm uploading what archive.org has stored to save others the same effort.

(file #18676)

Max Kalashnikov <maxkalashnikov>
 Spam posted by an anonymous
Fri 04 Jan 2008 10:14:25 PM UTC, comment #1:

might suggest using a hash for the login name combined with some n-char substring (which will generally be the whole name for most people anyway).

Tue 27 Nov 2007 07:25:36 PM UTC, original submission:

Screen is unusable for people with long names.

konstantin.ryabitsev@devserv:[~]$ screen
LoginName too long - sorry.

Please consider finding a better solution for those of us who are forced to bind our machines to AD.

Someone suggested this patch:

but it is not optimal, since it has potential for collisions.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #18676:  screen_long_username.diff added by maxkalashnikov (579B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by oopasp3zine88 (Posted a comment)
  • -unavailable- added by x3lph0r (Posted a comment)
  • -unavailable- added by anaumov (Posted a comment)
  • -unavailable- added by amade (Posted a comment)
  • -unavailable- added by agrimm (Posted a comment)
  • -unavailable- added by donpellegrino (Voted in favor of this item)
  • -unavailable- added by abdull (Voted in favor of this item)
  • -unavailable- added by abdull (Posted a comment)
  • -unavailable- added by mi3gai4rui4 (Voted in favor of this item)
  • -unavailable- added by jesstess (Updated the item)
  • -unavailable- added by maxkalashnikov (Updated the item)
  • -unavailable- added by micahcowan (Updated the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 250 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 13 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 08 Jun 2015 10:21:34 AM UTCanaumovOpen/ClosedOpen=>Closed
    Wed 23 Apr 2014 06:55:55 PM UTCamadeStatusIn Progress=>Fixed
    Thu 27 Jun 2013 03:34:55 AM UTCdonpellegrinoCarbon-Copy-=>Added donpellegrino
    Wed 22 Aug 2012 06:02:51 PM UTCabdullCarbon-Copy-=>Added abdull
    Thu 03 Mar 2011 01:41:51 AM UTCmi3gai4rui4Carbon-Copy-=>Added mi3gai4rui4
    Thu 11 Nov 2010 03:54:44 AM UTCjesstessStatusNeed Investigation=>In Progress
      Assigned toNone=>jesstess
    Sun 06 Sep 2009 01:59:02 PM UTCmaxkalashnikovAttached File-=>Added screen_long_username.diff, #18676
    Mon 23 Jun 2008 10:19:18 PM UTCmicahcowanCategoryNone=>Crash/Freeze/Infloop
      Planned ReleaseNone=>Later
      Work RequiredNone=>0 - Hours
    Sun 15 Jun 2008 08:34:09 AM UTCmicahcowanPriority5 - Normal=>6
      StatusNone=>Need Investigation

    Back to the top

    Powered by Savane 3.1-cleanup1