Oracle Solaris System Administration (MOSC)

MOSC Banner

Solaris 10 sparc - sshpass sudo doesn't show command output

sshpass sudo doesn't show command output

Ex.

bash-3.2# sshpass sudo ls -l
bash-3.2#

If I do with sshpass or only sudo it shows me command output
bash-3.2# sshpass ls -l

total 1046

lrwxrwxrwx   1 root     root           9 Aug 21 11:28 bin -> ./usr/bin

drwxr-xr-x   3 root     sys            3 Aug 21 11:28 boot

drwxr-xr-x  14 root     sys          216 Feb  3 03:16 dev

drwxr-xr-x   4 root     sys            7 Feb  3 03:16 devices

drwxr-xr-x  86 root     sys          239 Feb  3 03:16 etc

drwxr-xr-x   3 root     sys            3 Aug 21 11:28 export

Do I need to configure anything for sshpass or sudo ?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center