Hello All.
Sorry for some of the misunderstanding caused by my wronlgly worded question.
Apologies all around.
Yes, it is the system password I am after. Yes it will be from /etc/shadow. I can see the encrypted password...am going to try to see if it can decrypt with crypt(), as you guys suggested.
My app needs root access becaus it needs to read from and make changes to another application which can aonly be done by root.
I want to avoid installing any other modules as would prefer my App to worl with the standard Perl distribution.
Thanks for your help and keep it flowing.
Sawan