nerdexam
CompTIA

LX0-104 · Question #660

Which option to smbldap-useradd will add a machine account?

The correct answer is C. -w. When utilizing smbldap-useradd to create a machine account, the correct option to include is -w. This option specifically designates the creation of a machine account, distinguishing it from a standard user account.

Administrative Tasks

Question

Which option to smbldap-useradd will add a machine account?

Options

  • A-m
  • B-W
  • C-w
  • D-M
  • E-h

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    93% (28)

Why each option

When utilizing `smbldap-useradd` to create a machine account, the correct option to include is `-w`. This option specifically designates the creation of a machine account, distinguishing it from a standard user account.

A-m

The `-m` option is typically used to specify the creation of the user's home directory, not for adding a machine account.

B-W

The `-W` option is not a standard or recognized option for creating machine accounts with the `smbldap-useradd` command.

C-wCorrect

The `smbldap-useradd` utility employs the `-w` option to signify that the account being added is a machine account, which is essential for computers joining an Active Directory or Samba4 domain.

D-M

The `-M` option is not a standard or recognized option for creating machine accounts with the `smbldap-useradd` command.

E-h

The `-h` option is universally used to display the help message for a command, not for creating a machine account.

Concept tested: Samba LDAP machine account creation

Source: https://www.unix.com/man-page/linux/8/smbldap-useradd/

Topics

#smbldap-useradd#machine accounts#LDAP management#command-line tools

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice