execute remote command from remote server

Home Page Forums Network Management Networking execute remote command from remote server

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #41940
    maxp
    Member

    Hi, how can I execute a remote command to zeroshell from ssh session (remote host)

    i mean “ssh root@zeroshellip ‘zeroshell local command’ “

    this works ok in other linux distros, but I supose dosn’t work in ZS ’cause admin text interface that loads when admin user login?

    is this possible to deactive this text interface for the admin/root user?

    thanks in advance

    best regards

    Max.

    #48814
    ppalias
    Member

    I think it would be easier for you to create a new user with admin rights.

    #48815
    maxp
    Member

    how can I do that?

    thanks in advance
    regards.

    Max.

    #48816
    giancagianca
    Participant

    To disable admin test interface change row in /etc/passwd

    from admin:x:0:0:root:/root:/root/kerbynet.cgi/scripts/localman
    to admin:x:0:0:root:/bin/sh.

    When you restart the configuration is lost.

    To save configuration copy modified file in /Database and copy in /etc with preboot script.

    Bye

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.