Removes the CIFS credentials stored in the /etc/cifs_fs/cifscred file for the specified server and user entry.
The rmcifscred command takes a server and user name as input. If this input has credentials listed in /etc/cifs_fs/cifscred, the credentials are removed. Subsequent mounting to the specified server by the specified user requires manually inputting the password.
Item | Description |
---|---|
-h RemoteHost | Specifies the name of the remote host (CIFS server). This can be provided as a host name, an IP address, or as a fully qualified domain name. |
-u user | Specifies the user name whose credentials for the specified server are to be removed from the cifscred file. |
Item | Description |
---|---|
0 | The command completed successfully. |
>0 | An error occurred. |
rmcifscred -h server1 -u user1
/usr/sbin/rmcifscred
Item | Description |
---|---|
/etc/cifs_fs/cifscred | Stores the CIFS credentials. |