06-06-2002
60,
0
Join Date: Aug 2001
Last Activity: 3 August 2007, 4:25 AM EDT
Posts: 60
Thanks Given: 0
Thanked 0 Times in 0 Posts
su - manager
Hi,
I'm already login as clerk(not a superuser) on unix machine,
from clerk, Since clerk does not have permision to run a script, forcefully I want to login as manager and run the script and I don't want to give a manager's password to clerk.
Can I encrypt password ( or make an exe file from c program to connect as manager and run the script and come out of manager)
$su - manager
Now system asking me to enter password
Is there any possibility to hardcored password in a file?
Thanks in advance for your early reply,
Krishna