LPIC3 300 Mixed Environment Practice Test 2025 – All-in-One Guide to Master Your Certification!

Question: 1 / 400

Which parameter should be used with smbpasswd to ignore an existing account during addition?

-a

The parameter used with `smbpasswd` for adding a new user while ignoring an existing account is `-a`. This option specifically stands for "add", allowing the command to create a new Samba user account. If a user with the specified username already exists, the command will not overwrite it but will instead create a new entry. This is particularly useful when you want to avoid conflicts with existing accounts in the Samba password database.

The other parameters serve different purposes:

- The option typically used to delete a user from the Samba password database is `-x`.

- To disable an existing account, `-d` (which stands for disable) is used.

- The `-e` option is intended to enable a previously disabled account.

These functions are distinct from the addition of a new user, illustrating why `-a` is the correct option for the task of adding a user while ignoring existing accounts.

Get further explanation with Examzify DeepDiveBeta

-x

-d

-e

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy