Looking for a command / method to validate credentials of a remote unix server
In windows if i run this command i can validate, if the user credentials are working or not by executing the below command
> systeminfo /S <remote-Windows-server> /U <username> /P <password>
if this command returns success value then i would assume the credentials are working otherwise i can confirm the credentials are not working.
Do we have a similar kind of command in unix to validate if the credentials provided for remote unix target server?
In windows if i run this command i can validate, if the user credentials are working or not by executing the below command
> systeminfo /S <remote-Windows-server> /U <username> /P <password>
if this command returns success value then i would assume the credentials are working otherwise i can confirm the credentials are not working.
Do we have a similar kind of command in unix to validate if the credentials provided for remote unix target server?