[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: share screen for a particular command or shell script.



On Mon, Feb 22, 2010 at 11:14:29PM +0530, Kaushal Shriyan wrote:
> Hi,
> 
> Is there a way i can just allow a specific command or a shell script
> while sharing screen to a particular user.
> 
> I am following the below steps to share my screen.
> 
> ###########################################
> chmod +s /usr/bin/screen

Hmm... why not use sudo for a specific script instead?

> screen -S example
> ^A :multiuser on
> ^A :acladd bar
> ^A :aclchg bar -w "#"
> screen -r foo/example
> ###########################################

-- 
Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend


Reply to: