Happy New Year !!!

Can somebody tell me how to run a script by a normal user in setuid root mode. I am using Redhat 6.2 system. I need to change password of user X from User Y account through the script and both of them are not superuser.

I have already tried set -p command in script and the following code

#!/bin/ksh

su -l << EOP

<root passwd>

EOP

 

But that doesn't works

Any help appreciated. Regards

 

Jas

 



Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Reply via email to