I was away for some time, and now back. I figured out that kdesu is no longer supported and cannot use it now. So hoping to rebuild the project to use system shut down method so no need for root permission.