Deleting an SMB Persistent Password
You can delete persistent passwords that are stored by the smbadm add-key
command.
To delete a single persistent password that was created by the user running the smbadm remove-key
command, type the following command:
$ smbadm remove-key -u username
For example, the following command removes the persistent password for user1@solarsystem
:
$ smbadm remove-key -u user1@solarsystem
To delete all persistent passwords that were created by the user running the smbadm remove-key
command, type:
$ smbadm remove-key
For example, when user user1
runs the command, he removes all of the persistent passwords that he created. After the passwords are deleted, the user is prompted for a password each time that he or she performs an SMB transaction.