login root user with password command

  1. 2

    How to log in as root user with password in a single command

    Hi, I need to automate a software installation on one of the FreeBSD servers, and I was able to connect to the server using the Apache SSHD java library. However, after logging in as a normal user, I need to switch to the root user, who is asking for a password similar to the one below. ~ $ su...
Back
Top