lscifscred Command
Purpose
Lists the server or user entries stored in the /etc/cifs_fs/cifscred file.
Syntax
Description
The lscifscred command lists all of the server or user entries that have passwords stored in the /etc/cifs_fs/cifscred file.
Flags
Item | Description |
---|---|
-h RemoteHost | Lists credentials matching the given remote host (CIFS server) only. |
-u user | Lists credentials matching the given user name only. |
Exit Status
Item | Description |
---|---|
0 | The command completed successfully. |
>0 | An error occurred. |
Examples
- To list all server and user entries on a server named
server1
, enter:lscifscred -h server1
Location
/usr/sbin/lscifscred