nerdexam
LPI

300-300 · Question #13

300-300 Question #13: Real Exam Question with Answer & Explanation

The correct answer is A. The -x parameter removes an account from the Samba database. B. The -a parameter adds an account to the Samba database. If the account already exists, this. -x Parameter: This parameter is used to remove (delete) an account from the Samba database. Example: smbpasswd -x username -a Parameter: This parameter adds a new account to the Samba database. If the account already exists, it will update the account. Example: smbpasswd -a usern

Question

Which of the following statements are true regarding the smbpasswd command? (Choose two.)

Options

  • AThe -x parameter removes an account from the Samba database.
  • BThe -a parameter adds an account to the Samba database. If the account already exists, this
  • CThe -d parameter deletes an account from the Samba database.
  • DThe -e parameter excludes an account from the Samba database.
  • Esmbpasswd changes only passwords on Samba domain controllers while DCs running

Explanation

-x Parameter: This parameter is used to remove (delete) an account from the Samba database. Example: smbpasswd -x username -a Parameter: This parameter adds a new account to the Samba database. If the account already exists, it will update the account. Example: smbpasswd -a username -d Parameter: Disables (not deletes) an account. -e Parameter: Enables a previously disabled account. Password Synchronization: The smbpasswd command does not affect Windows domain controllers; it manages Samba-specific passwords.

Community Discussion

No community discussion yet for this question.

Full 300-300 Practice