bugGNU Screen - Bugs: bug #27060, Screen lies about login capability


bug #27060: Screen lies about login capability

Submitted by:  Micah Cowan <micahcowan>
Submitted on:  Mon 20 Jul 2009 08:56:00 PM UTC  
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  Need Investigation
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  None
Fixed Release:  None Planned Release:  4.1.0
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.


Mon 22 Aug 2011 12:35:53 AM UTC, comment #1:

The message "should now be logged in" is the message for when SetUtmp() fails. It says "is now logged in" if it succeeds. Are you requesting a more explicit error message?

Also, I see at least one other code path which--given that this is/should dichotomy is the desired solution--does not check the return value and emit the correct version of the message.

Andy Valencia

Mon 20 Jul 2009 08:56:00 PM UTC, original submission:

If screen doesn't have permissions to write to /var/run/utmp (is not setgid utmp, say), it still happily declares that the window should now be logged in. There's code in place to check for errors: is there a logic flaw in the error-checking code, or is it a flaw with the system pututline? (Ubuntu 9.04).

Micah Cowan <micahcowan>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by micahcowan (Submitted the item)

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

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.4