Free 102-500 Exam Braindumps
LPIC-1 Exam 102, Part 2 of 2, version 5.0 Questions 71–75 (page: 16)

Updated On: 10-Feb-2026

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?

  1. Alter the locale.
  2. Set the timezone correctly.
  3. Edit /etc/currency.
  4. Reinstall the French language pack.

Answer(s): A

Explanation:

The locale is a set of environmental variables that defines the language, country, and character encoding settings for the applications and shell session on a Linux system. The locale affects things such as the time/date format, the first day of the week, numbers, currency and many other values formatted in accordance with the language or region/country you set on a Linux system1. The currency sign (¤) is a character used to denote an unspecified currency2. To display the correct currency symbol for a specific region, the locale must be set accordingly. For example, to display the euro symbol () for France, the locale can be set to fr_FR.UTF-81. Setting the timezone correctly, editing /etc/currency, or reinstalling the French language pack will not affect the currency symbol displayed in the spreadsheets.


Reference:

1: How to Change or Set System Locales in Linux - Tecmint
2: decimal.ToString ("C") produces ¤ currency symbol on Linux - Stack Overflow



Which of the following can the chage command NOT change?

  1. The number of days since January 1, 1970 after which the user's account will no longer be accessible.
  2. The number of days since January 1, 1970 after which the password can change.
  3. The number of days since January 1, 1970 since the password was last changed.
  4. The maximum number of days during which a password is valid.
  5. The number of days of inactivity after a password has expired before the account is locked.

Answer(s): E

Explanation:

The chage command can change the following parameters related to user password expiry and aging:
The last password change date (-d or --lastday option)
The password expiry date (-E or --expiredate option)
The minimum number of days between password changes (-m or --mindays option) The maximum number of days during which a password is valid (-M or --maxdays option) The number of days of warning before password expires (-W or --warndays option) The chage command cannot change the number of days of inactivity after a password has expired before the account is locked. This parameter is controlled by the -I or --inactive option of the usermod command, which modifies the user account information. The chage command only displays the current value of this parameter, but does not allow changing it.


Reference:

chage command in Linux with examples - GeeksforGeeks
10 chage command examples in Linux [Cheat Sheet] - GoLinuxCloud How to Use the Chage Command in Linux ­ TecAdmin
How to Manage User Password Expiration and Aging in Linux - Tecmint



What command will display the group names and GIDs to which a user belongs? (Provide only the command name with or without path information)

  1. id,

    /usr/bin/id

Answer(s): A

Explanation:

The id command will display the user ID (uid), the primary group ID (gid), and the supplementary groups (groups) of a user. The output will show the names and the numerical IDs of the groups. For example:
id linuxize
The command will show the user ID (uid), the user's primary group (gid), and the user's secondary groups (groups)
uid=1001(linuxize) gid=1001(linuxize) groups=1001(linuxize),27(sudo) To print only the names instead of the numbers use the -n option.
id -nG linuxize
The command will show only the names of the groups linuxize sudo
The id command is part of the GNU coreutils package and is available on all Linux systems. The full path of the command is /usr/bin/id.


Reference:

id(1) - Linux manual page
How to List Groups in Linux | Linuxize



Of the ways listed, which is the best method to temporarily suspend a user's ability to interactively login?

  1. Use passwd -d username to give the user an empty password.
  2. Use chage to expire the user account.
  3. Change the user's password.
  4. Add the command exit to the user's .login file.

Answer(s): B

Explanation:

The chage command can be used to change the expiration date of a user account. By setting the expiration date to a past date, the user account will be disabled and the user will not be able to login interactively. This is a temporary method, as the expiration date can be changed back to a future date or removed to re-enable the user account. The other options are either permanent, insecure, or ineffective. Option A is insecure, as it allows anyone to login as the user without a password. Option C is permanent, as it changes the user's password without saving the original one. Option D is ineffective, as it only affects the user's .login file, which is used by the csh and tcsh shells, and not by other shells such as bash or zsh. Therefore, option B is the best method to temporarily suspend a user's ability to interactively login.


Reference:

https://linuxconfig.org/disabling-user-logins-to-linux- system https://askubuntu.com/questions/282806/how-to-enable-or-disable-a-user



What is the conventional purpose of Linux UIDs that are lower than 100?

  1. They are reserved for super user accounts.
  2. They are reserved for the system admin accounts.
  3. They are reserved for system accounts.
  4. They are unused, aside from 0, because they are targets of exploits.
  5. They are used to match with GIDs in grouping users.

Answer(s): C

Explanation:

Linux UIDs (user identifiers) are numbers that are used to identify users and groups on a Linux system. Each user and group has a unique UID and GID (group identifier) respectively. The UID 0 is always reserved for the root or superuser account, which has full privileges to access and modify the system. The UIDs lower than 100 (or 1000 on some modern systems) are typically reserved for system accounts, which are used by various services and daemons that run on the system. These accounts are not meant for human users, but for specific purposes such as managing files, processes, network, security, etc. For example, some common system accounts are bin, daemon, mail, sshd, etc. The UIDs higher than 100 (or 1000) are usually allocated for regular user accounts, which have limited privileges and can be created and deleted by the system administrator. The system accounts are defined in the /etc/passwd file, which contains the username, UID, GID, home directory, shell, and other information for each account12345.


Reference:

1: Linux User Management - Tecmint
2: What are the well-known UIDs? - Stack Overflow
3: user ID less than 1000 on CentOS 7 - Unix & Linux Stack Exchange
4: Recommended GID for users group in Linux (100 or 1000)? - Unix & Linux Stack Exchange 5: What is the conventional purpose of Linux UIDs that are lower than 100? - VCE Guide



Viewing page 16 of 48
Viewing questions 76 - 80 out of 234 questions


Post your Comments and Discuss LPI 102-500 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!