Which single command could you give to log in as root on the remote system named plum, if plum has remote root logins disabled?
What will be an ideal response?
Assuming you have the same username on both systems, the following com-
mand logs in on plum as root:
$ ssh -t plum su -
When you run this command, you must supply two passwords (assuming
you are running the command as a user without root privileges and you
have not set up an automatic login for ssh): yours and root’s. The su utility
requires that its input come from standard input; the –t option allocates a
pseudo-tty (terminal) to run su.
You might also like to view...
What single-function command-line tool concept does PowerShell introduce?
A. comm B. cmdlet C. cmd D. regedit
If you want to know what your document would look like as a Web page, you need to use the ________
Fill in the blank(s) with correct word
ensure ObservedFunctions are of the same size
What will be an ideal response?
What is one of the most common and utilitarian design grids?
A) One-column B) Two-column C) Three-column D) Four-column