The command ______ -x foo will delete the user foo from the Samba database. (Specify the command only, no path information.)
Answer: PDBEDIT
The command ______ -x foo will delete the user foo from the Samba database. (Specify the command only, no path information.)
The command ______ -x foo will delete the user foo from the Samba database. (Specify the command only, no path information.)
Answer: PDBEDIT
according to the man of pdbedit, this command require -u switch to specify the username
-x 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
I think the right answer is smbpasswd
-x This option specifies that the username following should be deleted from the local smbpasswd file.