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.
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
(45 responses)- A2% (1)
- C96% (43)
- D2% (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.
Account flags related to trust relationships are managed differently within Samba and are not indicated by 'X' in the `smbpasswd` database.
The flag indicating that a user must change their password on the next login is typically 'U', not 'X', in the `smbpasswd` database.
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.
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
Community Discussion
No community discussion yet for this question.