nerdexam
LPI

300-300 · Question #13

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

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…

300.8 Authentication and Authorization

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

How the community answered

(27 responses)
  • A
    93% (25)
  • C
    4% (1)
  • E
    4% (1)

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.

Topics

#smbpasswd#Samba database#user management#password management

Community Discussion

No community discussion yet for this question.

Full 300-300 Practice