Leave a Reply 5

Your email address will not be published. Required fields are marked *


Fernando Guimaraes

Fernando Guimaraes

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
——————————————————————————-

admin

admin

Your information is very useful.
Thanks.

marcus

marcus

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.

Ektoras

Ektoras

Yes fernando, but the questione is -x foo, or -x bob
only smbpasswd -x foo will answer the questione
sorry for my bad english

seenagape

seenagape

I choose