As mentioned in the initial post, the 'login' command triggers additional processing, perhaps getty, that more fully/properly prepares the container for use by the non-root user, as compared to the Dockerfile After leaving screen you have to exit. License for source code License for source code All source code included in the card Solve screen error "Cannot open your terminal '/dev/pts/0' - please check" is licensed under the license Given these differences and the absence of documentation regarding the container runtime behavior of a Dockerfile's USER command, it's difficult to: determine if these differences are intentional and therefore expected or his comment is here
This is because another user (you) initiated the current terminal – you probably did a sudo su into the user you are now trying to run screen as, right? archon810 View Public Profile View LQ Blog View Review Entries View HCL Entries Visit archon810's homepage! asked 5 years ago viewed 2124 times active 2 years ago Related 3start gnu screen automatically1Scrolling in GNU Screen0Using a script to control a process already running in screen1GNU screen and Why did Michael Corleone not forgive his brother Fredo?
On 1941 Dec 7, could Japan have destroyed the Panama Canal instead of Pearl Harbor in a surprise attack? Solution to Chef and Squares challenge, timing out in Java but not in C++ YA novel involving immortality via drowning Product of all divisors=cube of number. Teenage daughter refusing to go to school In Doctor Strange what was the title of the book Stan Lee was reading in his cameo?
How to be Recommended to be a Sitecore MVP Do Morpheus and his crew kill potential Ones? "Carrie has arrived at the airport for two hours." - Is this sentence grammatically asked 2 years ago viewed 7213 times active 6 days ago Related 0Automate switch user password in script3Create a Screen session with a bash script using contab1Listed folder cannot be deleted2start Same here thanks everybody. Attach To Another User's Screen Session share|improve this answer edited Mar 19 '15 at 21:01 answered Mar 18 '15 at 14:04 tyftler 11 Or have it all in one command so you don't have to
share|improve this answer edited Feb 22 '15 at 8:43 answered Feb 22 '15 at 8:36 basic6 1036 add a comment| Your Answer draft saved draft discarded Sign up or log Script /dev/null Important: Do not chmod the virtual terminal device like suggested at (way too many) places around the interwebs. Related posts: Debian releases and namesWhich version of Debian is running? This is my pillow How to delete the lines from a file that do not contain dot?
This includes both code snippets embedded in the card text and code that is included as a file attachment. Dev Pts 2 Does bolting to aluminum for electrical contact have any oxidation concerns? Artanicus View Public Profile View LQ Blog View Review Entries View HCL Entries View LQ Wiki Contributions Visit Artanicus's homepage! Maybe I missed to save some environment for sudo?
Essentially, it all works fine until I su as another user. Not the answer you're looking for? Cannot Open Your Terminal '/dev/pts/0' - Please Check. Screen Then you only have to exit twice (once for screen, once for su). (This is something the script man page can clarify for you, if you take the time to read /dev/pts In Linux sebastjanp View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by sebastjanp 01-30-2010, 06:09 PM #13 dragon_788 LQ Newbie Registered: Jul 2003 Distribution:
share|improve this answer answered Nov 2 at 20:15 laylaylom 1 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up this content Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the The MIT License (MIT) Copyright (c) 2011-2014 makandra GmbH Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Screen will issue the following message: Cannot open your terminal '/dev/console' - please check. /dev/pts/0 Permission Denied
Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ How to grep two numbers from the same line at different places using bash? Visible to the public. weblink How do pilots identify the taxi path to the runway?
Find More Posts by Artanicus 12-24-2008, 11:43 AM #8 archon810 LQ Newbie Registered: Dec 2006 Location: Bay Area, CA Distribution: openSUSE 11.1 Posts: 14 Rep: I've been trying to Must Run Suid Root For Multiuser Support. PowerShell vs Python The cost of switching to electric cars? Thanks.
Display field value in Drop Link field Drawing a torso with a head (using \draw) Is Area of a circle always irrational Should I allow my child to make an alternate Though it may work, it does not look like a neat solution. sudo -u that_user -H /usr/bin/screen -R I get the subject of this post. There Is No Screen To Be Resumed How to decline a postdoc interview if there is some possible future collaboration?
I just started my first real job, and have been asked to organize the office party. We run it in a screen session in order to see output on the screen. Find More Posts by archon810 06-15-2009, 06:25 PM #9 sideshowmel LQ Newbie Registered: Jun 2009 Posts: 2 Rep: Quote: Originally Posted by trickykid As the owner and user of check over here Package tabu: changing row color changes spacing?
Do I need to provide a round-trip ticket in check-in? A better approach is to use screen's multiuser feature, which allow users to connect to another user's screen session without using sudo. I am contemplating on putting this function systemwide. add a comment| 3 Answers 3 active oldest votes up vote 4 down vote accepted To directly answer your question: ssh [email protected] su grandplan -c “script /dev/null -qc \"screen\"" Don't change
WhisperingChaos commented Dec 26, 2014 @xiaods I appreciate your reply. You are currently viewing LQ as a guest. As demonstrated by the example, a difference between USER and login surfaced, as a runtime security concern. Registration is quick, simple and absolutely free.
Can I use that to take out what he owes me? Operator ASCII art What are Fluffy Blocks? But you'd have to weigh the security implications of doing so. Here are the permissions as displayed by 'ls -al /dev/console': crw------- 1 root root 136, 7 Dec 24 12:15 /dev/console Alter Dockerfile so 'root' becomes default user and explicitly log in
Password Linux - General This Linux forum is for general Linux questions and discussion. Browse other questions tagged sudo screen or ask your own question. exactly how would I allow access to that session? Product catalog Why is looping over find's output bad practice?
© Copyright 2017 kelcours.com. All rights reserved.