11 DecLinux+ XK0-002 questions share in testpassport

Which of  the  following commands, when  issued  from a non-root user, will  remove all  files  from  the
/tmp directory after prompting the user for the root password?
A. rmdir -rf /tmp/*
B. rm -rf /tmp/* -su
C. su “rm -rf /tmp/*”
D. su -c “rm -rf /tmp/*”
Answer: D

A user wants  to know how  to set up SSH  (Secure Shell)  to communicate between systems without
requiring passwords.   Which of the following is the BEST way to accomplish this?
A. Use ssh-keygen to generate public-private keys.
B. Disable passwords on specific accounts that will use SSH.
C. Add systems that do not need passwords to the /etc/ssh.hosts file.
D. Use RSH (Remote Shell) rather than SSH because it does not require passwords.
Answer: A

Testpassport professional provide Linux+ XK0-002 the newest Q&A, completely covers XK0-002 test original topic. With our complete Linux+ resources, you will minimize your Linux+ cost and be ready to pass your XK0-002 tests on Your First Try, 100% Money Back Guarantee included!

Leave a Reply