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.
Question
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)- B3% (1)
- C94% (30)
- D3% (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.
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.
The flag for requiring a password change on next login is typically 'U' (user must change password), not 'X'.
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.
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
Community Discussion
No community discussion yet for this question.