on 02/01/06 20:45 Bunny Shankar wrote: > Hi, > > I want to encrypt my passwords in shell and perl scripts. Even if root login > is compromised, my passwords in shell and perl scripts should not go to that > hacker. >
Firstly, why are you even keeping passwords in shell and perl scripts? I know sometimes there is no choice, but have you considered *all* possible alternatives and ensured that there is indeed no other way? > please let me know if any thing is there to do that. > > One thing is to convert scripts to exe files. > shc to convert shell to exe ( its not working with bash scripts) > perl2exe to convert perl to exe( DBD::Oracle will not work until oracle > client in installed in same machine).. Any other means let me know. > I'm sorry to break your bubble but converting to an "exe" (whatever that is on Unix!) will not achieve much. In order to answer your question you need to understand what is your threat scenario? That is, who or what precisely are you trying to guard against? Do you have root? Whether yes or no, who else has root? Who else has access to the machine? What level of access? Physical access? Depending on these, someone may be able to help you. But converting to an exe is not the answer. Sitaram ----------------------------------------------- Next Meeting as on our Website: http://ilughyd.org.in ----------------------------------------------- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/ilughyd/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
