public final class SuExec extends BaseCommand
The calling user must be authenticated as a PeerDaemonUser
, which usually requires
public key authentication using this daemon's private host key, or a key on this daemon's peer
host key ring.
BaseCommand.CommandRunnable, BaseCommand.Failure, BaseCommand.ProjectCommandRunnable, BaseCommand.UnloggedFailure
cleanup, ENC, err, exit, in, out, STATUS_NOT_ADMIN, user
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
start(org.apache.sshd.server.Environment env) |
die, die, die, getArguments, getName, getPluginName, getTaskDescription, getTrimmedArguments, newCmdLineParser, onExit, parseCommandLine, parseCommandLine, provideStateTo, setArguments, setErrorStream, setExitCallback, setInputStream, setOutputStream, startThread, toPrintWriter, usage, writeError
public void start(org.apache.sshd.server.Environment env) throws java.io.IOException
java.io.IOException
public void destroy()
destroy
in interface org.apache.sshd.server.command.CommandLifecycle
destroy
in class BaseCommand