Article 56CZK prompting for password su - oracle -c “uptime”

prompting for password su - oracle -c “uptime”

by
aryacool
from LinuxQuestions.org on (#56CZK)
trying to do some automation but when running the command its asking for password .

[non-root-user@XXXXXXXX ~]$ su - oracle -c "uptime"
Password:
or
[non-root-user@XXXXXXXX ~]$ sudo su - oracle -c "uptime"
[sudo] password for non-root-user:

what changes required that it should not go for passwordlatest?d=yIl2AUoC8zA latest?i=Jjc0qbjPtMM:dVdbFaFZ_hU:F7zBnMy latest?i=Jjc0qbjPtMM:dVdbFaFZ_hU:V_sGLiP latest?d=qj6IDK7rITs latest?i=Jjc0qbjPtMM:dVdbFaFZ_hU:gIN9vFwJjc0qbjPtMM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments