LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-30-2009, 04:30 PM   #1
slinx
Member
 
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106

Rep: Reputation: 23
Question Any way to disable the escape sequence with "screen"?


Hello,

Is there any way to disable the escape sequence in screen, so the user can't escape and run commands?

we have a program that runs under user "shop". We want to wrap it in a screen session, and use .screenrc to set it multiuser and allow the "dev" user to connect to it. Then, if the "shop" user loses his connection, the session will stay running, and then the "dev" user can attach to the session and end it.

We want the "shop" user to be unable to enter any "screen" commands.

Is this possible?

Thanks!
 
Old 12-30-2009, 09:19 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
You may be able to use aclchg to restrict the commands certain users can run, pls see the screen man page for details

cheers
 
Old 01-06-2010, 09:04 AM   #3
slinx
Member
 
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106

Original Poster
Rep: Reputation: 23
Talking

Quote:
Originally Posted by kbp View Post
You may be able to use aclchg to restrict the commands certain users can run, pls see the screen man page for details

cheers
Thanks, I was able to do it by placing the commands in the shop user's .screenrc, so that the multiuser access was granted, before revoking access to all commands:

Code:
multiuser on
acladd dev 
aclchg shop -x+r+w "#?"
 
  


Reply

Tags
screen



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I disable "shutdown" and "restart" options in KDE logout screen for all users? maxgsp Linux - Distributions 1 12-12-2008 03:18 PM
How do I disable "lock screen" in Gnome. tallmtt Linux - General 4 07-09-2007 11:05 AM
how to disable "automatic screen saver" on thinkpad T21 jjonas Linux - Laptop and Netbook 2 07-28-2005 07:31 AM
how to disable "print screen" button sallyslicer Linux - Newbie 0 02-11-2005 02:32 PM
How do I disable the "attractive," graphical startup screen? 3line Linux - Software 16 10-30-2003 11:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration