Executing error

Get help with using the PHP Secure Communications Library.

Moderator: Nuxius

Forum rules
The purpose of this forum is to provide support for phpseclib, a pure PHP SSH / SFTP / RSA library.

Posts by new users are held in a moderation queue and are not publicly visible until the post is approved.

Executing error

Postby swiftie » Mon Jun 10, 2013 11:54 am

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 :)
swiftie
Traveler
 
Posts: 3
Joined: Mon Jun 03, 2013 12:40 pm

Return to phpseclib support

Who is online

Users browsing this forum: No registered users and 1 guest

cron