nerdexam
Linux_Foundation

LFCS · 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' flag indicates that the associated Samba account has no time limit set for its password expiration.

Submitted by yuki_2020· Apr 18, 2026Service Configuration

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

(32 responses)
  • B
    3% (1)
  • C
    94% (30)
  • D
    3% (1)

Why each option

In the `smbpasswd` database, the 'X' flag indicates that the associated Samba account has no time limit set for its password expiration.

AThis account is used for a trust relationship.

There is no standard 'X' flag in `smbpasswd` that indicates an account is used for a trust relationship; trust relationships are managed through different mechanisms.

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

The flag for requiring a password change on next login is typically 'U' (user must change password), not 'X'.

CPasswords have no time limit.Correct

The 'X' flag is a specific account control flag within the `smbpasswd` database that signifies that the password for that particular user account will never expire, meaning it has no time limit for validity.

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

Account flags like 'L' might denote LANMAN-only password, but 'X' does not signify LANMAN only, nor the absence of NTLM.

Concept tested: Samba smbpasswd account flags

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

Topics

#Samba#smbpasswd#Account Flags#Password Management

Community Discussion

No community discussion yet for this question.

Full LFCS Practice