Which commands will delete the user account joeuser from a Samba server? (Select TWO correct
answers.)
A.
smbadduaer-djoeuser
B.
smbdeluserjoeuser
C.
smbpasswd-xjoeuser
D.
pdbedit-rjoeuser
E.
pdbedit-xjoeuser
Explanation:
http://www.samba.org/samba/docs/man/manpages-3/pdbedit.8.html
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch10_:_Windows,_Linux,_
and_Samba#How_To_Delete_Users_From_Your_Samba_Domain
C. and E. are correct. E. is missing -u switch
D. modifies the user
-r|–modify
This option is used to modify an existing user in the database. This command needs a user name specified with the -u switch. Other options can be specified to modify the properties of the specified user. This flag is kept for backwards compatibility, but it is no longer necessary to specify it.