Why is /etc/shadow not world readable if the passwords are stored in an encrypted fashion?
Why is /etc/shadow not world readable if the passwords are stored in an encrypted fashion?A . The encrypted passwords are still subject to brute force attacks.B . This is just for historical reasons.C . There is other information in the file that needs to be kept secret.D . The passwords...
What command displays all aliases defined in the current shell? (Specify the command without any path information)
What command displays all aliases defined in the current shell? (Specify the command without any path information)View AnswerAnswer: alias, alias -p Explanation: The alias command is used to create, list, or remove aliases in the current shell. An alias is a short name that refers to another command, usually with...
What must be done to fix this?
A French user has installed the French language pack, but currencies are still being displayed with a leading '$' sign in his spreadsheets. What must be done to fix this?A . Alter the locale.B . Set the timezone correctly.C . Edit /etc/currency.D . Reinstall the French language pack.View AnswerAnswer: A...
What is the difference between the commands test -e path and test -f path?
What is the difference between the commands test -e path and test -f path?A . They are equivalent options with the same behaviour.B . The -f option tests for a regular file. The -e option tests for an empty file.C . Both options check the existence of the path. The...
What output will the command seq 10 produce?
What output will the command seq 10 produce?A . A continuous stream of numbers increasing in increments of 10 until stopped.B . The numbers 1 through 10 with one number per line.C . The numbers 0 through 9 with one number per line.D . The number 10 to standard output.View...
To prevent a specific user from scheduling tasks with at, what should the administrator do?
To prevent a specific user from scheduling tasks with at, what should the administrator do?A . Add the specific user to /etc/at.allow file.B . Add the specific user to [deny] section in the /etc/atd.conf file.C . Add the specific user to /etc/at.deny file.D . Add the specific user to nojobs...
Which of the following is the best way to list all defined shell variables?
Which of the following is the best way to list all defined shell variables?A . envB . setC . env -aD . echo $ENVView AnswerAnswer: B Explanation: The set command is used to display or modify the shell variables and functions in the current shell. When used without any arguments,...
Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?
Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?A . export LANGUAGE="pt"B . export MESSAGE="pt"C . export UI_MESSAGES="pt"D . export LC_MESSAGES="pt"E . export ALL_MESSAGES="pt"View AnswerAnswer: D Explanation: The LC_MESSAGES environment variable specifies the language...
How is the file format of /etc/crontab different from a normal crontab file? (Select TWO correct answers)
How is the file format of /etc/crontab different from a normal crontab file? (Select TWO correct answers)A . The /etc/crontab file can specify a year field.B . A normal crontab file must be installed with the crontab command.C . A normal crontab file allows for environment variable substitution.D . The...
What keyword is missing from this code sample of a shell script?
What keyword is missing from this code sample of a shell script? ____ i in *.txt; do echo $i doneA . forB . loopC . untilD . whileView AnswerAnswer: B Explanation: The set command is used to display or modify the shell variables and functions in the current shell. When...