Lists the server or user entries stored in the /etc/cifs_fs/cifscred file.
The lscifscred command lists all of the server or user entries that have passwords stored in the /etc/cifs_fs/cifscred file.
Item | Description |
---|---|
-h RemoteHost | Lists credentials matching the given remote host (CIFS server) only. |
-u user | Lists credentials matching the given user name only. |
Item | Description |
---|---|
0 | The command completed successfully. |
>0 | An error occurred. |
lscifscred -h server1
/usr/sbin/lscifscred