102-500 - Topic 3
![]() |
![]() |
![]() |
Title of test:![]() 102-500 - Topic 3 Description: 102-500 - Topic 3 |




New Comment |
---|
NO RECORDS |
Which of the following fields are available in both the global /etc/crontab file as well as in user-specific crontab files? (Select TWO correct answers). Year. Minute. Username. Command. Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.). The list of users that belong to the group. The home directory of the group. The name of the group. The description of the group. The password of the group. A user was not given permission to use the CRON scheduling system. What file needs to be modified to provide that access? (Please specify the full path to the file). The correct crontab entry to execute the script chklog three times per month between 3 p.m. and 5 p.m.: ** 3,4,5 1 * ** chklog. 3 3,4,5 1 * * chklog. 3 15,16,17 * * * chklog. 0 15,16,17 1 * * chklog. ** 15,16,17 1 * ** chklog. In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?. Without additional configuration, no users may have user specific crontabs. Without additional configuration, all users may have user specific crontabs. The cron daemon will refuse to start and report missing files in the system's logfile. When a user creates a user specific crontab the system administrator must approve it explicitly. Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename). Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?. 0 * * * 30 myscript. 30 * * * 6 myscript. 30 0 * * 0 myscript. 30 0-23 * * 0 myscript. 0 0-23 * * 30 myscript. On a system using shadowed passwords, the most correct permissions for /etc/passwd are _____ and the most correct permissions for /etc/shadow are ____. -rw-r-----, -r--------. -rw-r--r--, -r--r--r--. -rw-r--r--, -r--------. -rw-r--rw-, -r-----r--. -rw-------, -r--------. Which of the following commands can be used to convert text files in one character encoding to another character encoding?. cat. convert. dd. iconv. utf2utf. Which TWO statements about crontab are true?. Every user may have their own crontab. Changing a crontab requires a reload/restart of the cron daemon. The cron daemon reloads crontab files automatically when necessary. hourly is the same as "0 * * * *". A cron daemon must run for each existing crontab. Of the ways listed, which is the best method to temporarily suspend a user's ability to interactively login?. Use passwd -d username to give the user an empty password. Use change to expire the user account. Change the user's password. Add the command exit to the user's .login file. In which file, if present, must all users be listed that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.). Which of the following can the chage command NOT change?. The number of days since January 1, 1970 after which the user's account will no longer be accessible. The number of days since January 1, 1970 after which the password can change. The number of days since January 1, 1970 since the password was last changed. The maximum number of days during which a password is valid. The number of days of inactivity after a password has expired before the account is locked. Of the ways listed, which is the best way to temporarily suspend a single user's ability to interactively login?. Add the user name to /etc/nologin. Change the user's password. Change the user name in /etc/passwd. Use change to expire the user account. Place the command logout in the user's profile. Which command should be added to /etc/bash_profile to change the language of messages from an internationalised program to Portuguese (pt)? (Select TWO correct answers). export LANGUAGE="pt". export MESSAGE="pt". export LANG="pt". export LC_MESSAGES="pt". export ALL_MESSAGES="pt". Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.). Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?. *. -. s. x. What command will display the group names and GIDs to which a user belongs? (Provide only the command name with or *without* path information). Where are user specific crontabs stored?. In the database file /etc/crontab.db which is shared by all users. As individual per-user files within /var/spool/cron. As individual per-user files in /etc/cron.user.d. In the .crontab file in the user's home directory. In the file /var/cron/user-crontab which is shared by all users. Which environment variable should be set in order to change the time zone for the commands run from within the environment variable's scope? (Specify the variable name only.). Which command can be used to delete a group from a Linux system?. groupdel. groupmod. groups. groupedit. What is the conventional purpose of Linux UIDs that are lower than 100?. They are reserved for super user accounts. They are reserved for the system admin accounts. They are reserved for system accounts. They are unused, aside from 0, because they are targets of exploits. They are used to match with GIDs in grouping users. Each entry in a crontab must end with what character?. Tab. Space. Backslash. Newline. What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.). The user bob is removed from the system's user database. The user bob's home directory is removed. The locate database is updated to drop files owned by bob. All files owned by bob are remove from all mounted filesystems. In case bob was the last member of a group, that group is deleted. The system's timezone may be set by linking /etc/localtime to an appropriate file in which directory? (Provide the full path to the directory, without any country information). Which commands can be used to change a user's account aging information? (Choose THREE correct answers.). usermod. passwd. chattr. chage. chsh. What is true about the file /etc/localtime?. It is a plain text file containing a string such as Europe/Berlin. It is created and maintained by the NTP service based on the geolocation of the system's IP address. It is a symlink to /sys/device/clock/ltime and always contains the current local time. It is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/Europe/Berlin. The ______ command is used to add a groupto the system. Why is /etc/shadow not world readable if the passwords are stored in an encrypted fashion?. The encrypted passwords are still subject to brute force attacks. This is just for historical reasons. There is other information in the file that needs to be kept secret. The passwords can be decrypted by anyone with root access. Which of the following files assigns a user to its primary group?. /etc/pgroup. /etc/shadow. /etc/group. /etc/passwd. /etc/gshadow. Which file contains the date of the last change of a user's password?. /etc/gshadow. /etc/passwd. /etc/pwdlog. /etc/shadow. /var/log/shadow. 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?. Alter the locale. Set the timezone correctly. Edit /etc/currency. Reinstall the French language pack. What is the purpose of the iconv command?. It converts bitmap images from one format to another such as PNG to JPEG. It verifies that the root directory tree complies to all conventions from the Filesystem Hierarchy Standard (FHS). It displays additional meta information from icon files ending in .ico. It changes the mode of an inode in the ext4 file system. It converts files from one character encoding to another. How is the file format of /etc/crontab different from a normal crontab file? (Select TWO correct answers). The /etc/crontab file can specify a year field. A normal crontab file must be installed with the crontab command. A normal crontab file allows for environment variable substitution. The /etc/crontab file has a user field for commands. Which command will set the local machine's timezone to UTC?. cat UTC > /etc/timezone. ln -s /usr/share/zoneinfo/UTC /etc/localtime. date --timezone=UTC. mv /usr/timezone/UTC /etc. 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)?. export LANGUAGE="pt". export MESSAGE="pt". export UI_MESSAGES="pt". export LC_MESSAGES="pt". export ALL_MESSAGES="pt". Which commands can you use to change a user's account aging information? (Choose THREE correct answers.). usermod. passwd. chattr. chage. chsh. Which crontab entry could be used to set the system time at regular intervals?. 1 0 * * * date $d $t $24. 1 0 * * * ntpdate ntp1.digex.net. 1 0 * * * date ntp1.digex.net. 1 0 * * * runcron date ntp1.digex.net. 1 0 * * * settime $d $t $24. To prevent a specific user from scheduling tasks with at, what should the administrator do?. Add the specific user to /etc/at.allow file. Add the specific user to [deny] section in the /etc/atd.conf file. Add the specific user to /etc/at.deny file. Add the specific user to nojobs group. Run the following: atd --deny [user]. What is NOT contained in the locale setting of the operating system?. currency symbol. language. timezone. thousands separator. Which of the following commands can remove a user from a group?. grouprm. groupmod. passwd. usergroups. usermod. What is the main difference between the batch and at commands?. The batch command will run multiple times.The at command will only run once. The batch command will run when system load is low. The at command runs at a specific time. The at command reads commands from standard input. Thebatch command requires a command line argument. The at command e-mails results to the user. The batch command logs results to syslog. Which of the following steps prevents a user from obtaining an interactive login session?. Run the command chsh -s /bin/false with the user name. Set the UID for the user to 0. Remove the user from the group staff. Add the user to /etc/noaccess. Create a .nologin file in the user's home directory. |