Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#56308 - Escape from `sudo screen` into pure root promt

Attached to Project: Arch Linux
Opened by Hilary Jendrasiak (Hilary) - Monday, 13 November 2017, 06:55 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 13 November 2017, 14:47 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I was testing USB->UART and then that happen...
(I think it's bigger bug than it looks like, but you'll know better. Specially after checking that)

Reproduce (starting as normal user):
sudo screen /dev/ttyUSB0 57600
CTRL+A
CTRL+C

Now you're root.

Additional info:
you can reproduce that even if there's no ttyUSB0, but then the most important thing to reproduce bug is to fast make CTRL+A,C after sudo command.

//Sorry for English and everything else. I'm after whole night of coding and the only reason I'm writing this now is that I could forget that tomorrow. And yes, modify that, please, into something readable. Thanks!
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 13 November 2017, 14:47 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Appears to be working as intended
Comment by Jan de Groot (JGC) - Monday, 13 November 2017, 10:23 GMT
ctrl+a ctrl+c will produce a new screen session, so if you launched screen with sudo that will give you a root terminal yes.

Loading...