Screen Cannot Open Your Terminal After Su
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 Thanks. Same here thanks everybody. If you found our advice to be useful, you might like our book about maintainable Rails applications: Check out our new e-book: Growing Rails Applications in Practice Learn to structure large http://stevemattley.com/cannot-open/screen-cannot-open-your-terminal-dev-pts-10.html
C++ calculator using classes My cat sat on my laptop, now the right side of my keyboard types the wrong characters Polyglot Anagrams Cops' Thread Finding matrix BA given AB In Authorizing root for multiuser screen session seems like better solution to me in this context. Copyright (C) 2016 by Georgi Georgiev This gives other users read and write access to the terminal session! navigate to these guys
Cannot Open Your Terminal '/dev/pts/0' - Please Check. Screen
You should allow the user you su to to modify the device node somehow. If you need to reset your password, click here. The error is quite explanatory, screen is unable to background mc due to inability to read /dev/pts/0 Checking /dev/pts/0 (virtual memory) located file, permissions shows: [email protected]:~$ ls -al /dev/pts/0
Hot Network Questions Graph visualization: Leave gap between vertex and endpoint of edge I am seen in darkness and in light, What am I? Thanks for visiting! mr_grumpy View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by mr_grumpy 10-02-2009, 06:42 AM #11 okki LQ Newbie Registered: Oct 2009 Posts: Sudo Screen Command This kind of stupidity should be fixed already.
Learn more Last edit: almost 2 years ago by Arne Hartherz Keywords: linux, unix, shell, how-to About this deck: We are makandra and do test-driven, agile Ruby on Rails software development. Screen Multiuser No need. Find More Posts by Artanicus 06-29-2005, 08:25 PM #4 stefaandk Member Registered: Jun 2005 Distribution: Centos Posts: 215 Original Poster Rep: Yeah indeed, if I login with the user Welcome Home Blog Projects Chrome Extensions Web Apps Windows Apps Collaborative Minecraft World Whatpulse Game Photos [email protected] Distributed.net Facebook Topics Android Games Hardware Internet Linux Programming Uncategorized Windows Powered by
This post shows how to fix this. http://www.shadowsplace.net/1844/linux/using-screen-after-su-cannot-open-your-terminal/ What is the most someone can lose the popular vote by but still win the electoral college? Cannot Open Your Terminal '/dev/pts/0' - Please Check. Screen Looking at some of my machines it appears new versions of screen seem to install setuid-root, which also works, but means you have another setuid-root binary floating around, which makes some Sudo Screen /dev/ttyusb0 makandra has been working exclusively with Ruby on Rails since 2007.
Maybe it would be secure enough if you use ACLs, and only allow specific users, but I would rather prefer doing "script /dev/null" before calling screen. this content How much time would it take for a planet scale Miller-Urey experiment to generate intelligent life My cat sat on my laptop, now the right side of my keyboard types the Our laser focus on a single technology has made us a leader in this space. share|improve this answer answered Feb 21 '14 at 23:33 kramer65 65121023 Don't forget to mark your own answer as 'the' answer... Attach To Another User's Screen Session
screen then grabs that tty device (which is owned by the user running screen so it has no trouble accessing it). Assigning only part of a string to a variable in bash On 1941 Dec 7, could Japan have destroyed the Panama Canal instead of Pearl Harbor in a surprise attack? USER="teamspeak" # Do not change this path PATH=/bin:/usr/bin:/sbin:/usr/sbin # The path to the teamspeak 3 server/scripts . weblink What do I do?
Not the answer you're looking for? Must Run Suid Root For Multiuser Support. Bag of Tricks Pages Home About Us Tuesday, April 21, 2009 Start screen after sudo su to another user Sudo'ing to a user then running screen doesn't work out of the Typically you get the following error:Cannot open your terminal '/dev/pts/1' - please check.Recently I found an answer to this problem here:http://www.hjackson.org/blog/archives/2008/11/29/cannot-open-your-terminal-dev-pts-please-checkFrom the blog, here's the proceduresudo su - someuserscript /dev/nullscreenShould work
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
Excepted from this license are code snippets that are explicitely marked as citations from another source. Making your tty/pty/pts world-read-writable opens up a gaping security hole, giving everyone raw access to your console. You can change the ownership to a common group: # chgrp [group] $(tty) # chmod 0660 $(tty) Or (if you trust every other user on the system), you can make it There Is No Screen To Be Resumed If the user added to tty group is not trusted and (preferrably used only by the system administrator), he might flood other logged in users shell with junk messages, or any
example = /home/teamspeak3/teamspeak3-server DIR=/home/teamspeak/voiceserver/teamspeak3 DAEMON=$DIR/ts3server_startscript.sh # Change all PARAMS to your needs. Rather than adjusting permissions of /dev/pts/0, simply run the following before screen; script /dev/null Leave a comment Name (required) Mail (will not be published) (required) Website Notify me of followup comments Visible to the public. check over here As a monk, can I use Deflect Missiles to protect my ally?
They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. share|improve this answer answered Feb 25 '10 at 15:51 Bart Silverstrim 28.7k94979 add a comment| up vote 0 down vote You say you do: sudo su "monitor" - I'm wondering about Thanks. Why does top 50% need a -50 translate offset?
Join our community today! Help understanding these cake puns from a CNN Student News video Ballpark salary equivalent today of "healthcare benefits" in the US? I think I can add the user to the tty group but that wouldn't be ideal. :-P –luckytaxi Feb 25 '10 at 19:07 3 Re: security implications, none I'm aware more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
For more info on screen, check the man; man screen Sometimes, its necessery to run screen after a change of user identity with su command, for the sake of doing some I required the ini so teamspeak used MySQL PARAMS="inifile=ts3server.ini" #Name = The screen will be named from this. 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 For my user hipo I have no permissions to read or write into the file - (The file is not readable to any user except root and users who belong to
View Comment Reply admin says: December 13, 2012 at 11:55 pm Epiphany 2.30.6 Debian GNU/Linux x64Mozilla/5.0 (X11; U; Linux x86_64; bg-bg) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6hi Helge, IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION When does TNG take place in relation to DS9? Need to speak with a Rails professional?
Password Linux - General This Linux forum is for general Linux questions and discussion.