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.
Question
Options
- A-m
- B-W
- C-w
- D-M
- E-h
How the community answered
(30 responses)- A3% (1)
- B3% (1)
- C93% (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.
The `-m` option is typically used to specify the creation of the user's home directory, not for adding a machine account.
The `-W` option is not a standard or recognized option for creating machine accounts with the `smbldap-useradd` command.
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.
The `-M` option is not a standard or recognized option for creating machine accounts with the `smbldap-useradd` command.
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
Community Discussion
No community discussion yet for this question.