PrepAway - Latest Free Exam Questions & Answers

Which command will delete the user foo from the Samba database?

The command ___________ -x foo will delete the user foo from the Samba database. (Specify the command only, no path information.)

PrepAway - Latest Free Exam Questions & Answers

Answer: smbpasswd

4 Comments on “Which command will delete the user foo from the Samba database?

  1. Fernando Guimaraes says:

    pdbedit (is correct too)
    ——————————————————————————-
    -x|–delete
    This option causes pdbedit to delete an account from the database. It needs a username specified with the -u switch.

    Example: pdbedit -x -u bob
    ——————————————————————————-




    0



    0
    1. marcus says:

      Yes Fernando, but

      man smbpasswd
      -x
      This option specifies that the username following should be deleted from the local smbpasswd file.
      This option is only available when running smbpasswd as root.

      man pdbedit
      -x
      This option causes pdbedit to delete an accountfrom the database. It need the username be specified with the-u switch.
      Example: pdbedit -x -u bob

      So, I think “smbpasswd” is the only answer.




      0



      0

Leave a Reply