nerdexam
CompTIA

LX0-104 · Question #655

What does the character 'X' mean in the account flag of the smbpasswd database?

The correct answer is C. Passwords have no time limit. In the smbpasswd database, the 'X' character as an account flag indicates that the user's password has no time limit. This means the password is set to never expire, which is useful for service accounts or specific user policies.

Administrative Tasks

Question

What does the character 'X' mean in the account flag of the smbpasswd database?

Options

  • AThis account is used for a trust relationship.
  • BThe user has to change the password on their next login.
  • CPasswords have no time limit.
  • DThis account has a password for LANMAN only and not NTLM.

How the community answered

(45 responses)
  • A
    2% (1)
  • C
    96% (43)
  • D
    2% (1)

Why each option

In the `smbpasswd` database, the 'X' character as an account flag indicates that the user's password has no time limit. This means the password is set to never expire, which is useful for service accounts or specific user policies.

AThis account is used for a trust relationship.

Account flags related to trust relationships are managed differently within Samba and are not indicated by 'X' in the `smbpasswd` database.

BThe user has to change the password on their next login.

The flag indicating that a user must change their password on the next login is typically 'U', not 'X', in the `smbpasswd` database.

CPasswords have no time limit.Correct

The 'X' flag within the `smbpasswd` database (visible via `pdbedit`) specifies that the user's password is configured to never expire, overriding any default password aging policies and preventing forced password changes.

DThis account has a password for LANMAN only and not NTLM.

Flags indicating password types like LANMAN or NTLM are generally internal to Samba's password hash management and are not represented by the 'X' account flag.

Concept tested: Samba smbpasswd account flags

Source: https://www.samba.org/samba/docs/current/manpages/pdbedit.8.html

Topics

#smbpasswd#Samba accounts#password management#account flags

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice