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         | tzaf...@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzaf...@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100222180624.gb16...@pear.tzafrir.org.il

Reply via email to