Home > Cannot Open > Screen Cannot Open Your Terminal Su

Screen Cannot Open Your Terminal Su

Contents

Not the answer you're looking for? 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 What do I do? But you'd have to weigh the security implications of doing so. http://stevemattley.com/cannot-open/screen-cannot-open-your-terminal-dev-pts-10.html

I am seen in darkness and in light, What am I? Authorizing root for multiuser screen session seems like better solution to me in this context. How do I avoid referring to all state variables when updating only a few? Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest

Cannot Open Your Terminal '/dev/pts/0' - Please Check. Screen

Posted by Arne Hartherz to makandropedia Privacy policy Terms of service Imprint current community blog chat Server Fault Meta Server Fault your communities Sign up or log in to customize your 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 Can I substitute decaf coffee for espresso Is Area of a circle always irrational My cat sat on my laptop, now the right side of my keyboard types the wrong characters Browse other questions tagged gnu-screen su or ask your own question.

What is the most someone can lose the popular vote by but still win the electoral college? ssh [email protected] -t screen some sugar: as user 2: create: ./bin/screen-cmd ------------------ #!/bin/bash cmd=$(basename $0|sed 's/^.*-//') screen -S $cmd -c ~/.screenrcs/$cmd ----------------------------------- cd .bin ln -s screen-cmd screen-log mkdir ~/.screenrcs create just do a : $ sudo chmod 777 /dev/pts/3 $sudo chmod o+rw /dev/pts/3 This sets "others" to have read / write, and doesn't change any other permissions Quote: Originally Posted by Attach To Another User's Screen Session You are currently viewing LQ as a guest.

Here's a one-liner (could be used as "alias gobob", for example): sudo su - bob -c "script -c bash /dev/null"' Explanation: This will start a shell (like login shell) as user Script /dev/null 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 screen then grabs that tty device (which is owned by the user running screen so it has no trouble accessing it). http://serverfault.com/questions/116775/sudo-as-different-user-and-running-screen d: As the owner and user of the pts, simply allow others read/write access by chmodding it.. 3 members found this post helpful.

Do humans have an ethical obligation to prevent animal on animal violence? Screen Multiuser Help understanding these cake puns from a CNN Student News video Two-way high power outdoor Wi-Fi How would you model 'a sphere with a shell' like object? Your solution worked like a charm and makes a lot of sense. Why is the 'You talking to me' speech from the movie 'Taxi Driver' so famous?

Script /dev/null

Can negative numbers be called large? Discover More 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 Cannot Open Your Terminal '/dev/pts/0' - Please Check. Screen Performance difference in between Windows and Linux using intel compiler: looking at the assembly How to define a "final slide" in a beamer template? Sudo Screen /dev/ttyusb0 I am contemplating on putting this function systemwide.

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: this content grep with special expressions Someone peeled an American flag sticker off of my truck. 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 No root privs required. Sudo Screen Command

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 thusly: $ sudo adduser root user1group $ sudo chmod 770 /dev/pts/3 ? It's also definitely safer than adding users to the tty group (IMHO) –voretaq7♦ Feb 25 '10 at 19:20 1 @nalply Frankly you shouldn't find multiple shells confusing if you're a weblink There is actually a better option with screen -d -m parameters.

Root can already access the device (and all of user1's files). Must Run Suid Root For Multiuser Support. Artanicus View Public Profile View LQ Blog View Review Entries View HCL Entries View LQ Wiki Contributions Visit Artanicus's homepage! How does Gandalf end up on the roof of Isengard?

asked 2 years ago viewed 633 times active 2 years ago Visit Chat Related 1GNU/screen not setting $STY7use gnu screen when ssh'ed as a user, but su as another0sudo makes me

Can an object *immediately* start moving at a high velocity? 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 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 There Is No Screen To Be Resumed Posted by Josh at Tuesday, April 21, 2009 6 comments: Hervé said...

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 So... Why is the 'You talking to me' speech from the movie 'Taxi Driver' so famous? check over here Hot Network Questions On 1941 Dec 7, could Japan have destroyed the Panama Canal instead of Pearl Harbor in a surprise attack?

Why were pre-election polls and forecast models so wrong about Donald Trump? May 16, 2016 at 3:03 PM Fluffy Saw said... exactly how would I allow access to that session? Should I report it?

If I do: su - user screen I get: Cannot open your terminal '/dev/pts/0' - please check. Solved it with chmod +rw $(tty) before running sudo. Lab colleague uses cracked software. share|improve this answer answered Jul 6 '11 at 8:39 ento 24629 For future readers, I have found su'ing inside screen to actually be better practice, but since this answers

Wrong way on a bike lane? Thx Click here to see the post LQ members have rated as the most helpful post in this thread. Can a president win the electoral college and lose the popular vote Which word should I use for "to drive (a car)"? linux debian screen share|improve this question edited Oct 11 '14 at 9:49 Anthon 12.5k124479 asked Jan 24 '14 at 8:47 Fabian Harmsen 1931313 add a comment| 1 Answer 1 active oldest

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 Solution 2 script /dev/null screen Reference http://serverfault.com/questions/116775/sudo-as-different-user-and-running-screen/116830 This worked for me on Debian 7.8 Wheezy. Solve screen error "Cannot open your terminal '/dev/pts/0' - please check" When using the screen tool you may be unable to start a screen session but instead encounter an error: Cannot Browse other questions tagged sudo screen or ask your own question.

The command is started with: sudo -u user /usr/bin/screen -A -m -d -S screen ./nice_command For reattaching I am using screen -x screen, but it always says: There is no screen Why not use sudo -u user -s? –Andrew Aylett Feb 25 '10 at 16:38 2 @Jim: +1 for supplying the missing error message. –Dennis Williamson Feb 25 '10 at 16:41 share|improve this answer answered Aug 13 '14 at 13:45 steviethecat 32123 1 Works perfectly.