Page 1 of 1

Executing error

PostPosted: Mon Jun 10, 2013 11:54 am
by swiftie
Hello! I'm trying execute next command:
Code: Select all
su -lc "screen -r test1 -X setup " user2

But i receive an error:
Code: Select all
su: must be run from a terminal

How to bypass it?

EDIT:
Solved. I forgot run su or sudo from root account :)