Reputation: 119
I am facing some problem, Actually i want to kill the process/script which is running by another user but i have credential of that user. Infact when i am using sudo, command is prompting the below error.
csaadm is not in the sudoers file. This incident will be reported.
After that i have used the below command but it is asking for password, and i want to pass the password in su
itself.
su pwcadm -p pwcadm -c "kill -9 29205"
Is there command please help.
Upvotes: 1
Views: 5469