SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello All
I have a script that does some ldap operations. Within the script, I have a password that I use in the ldapsearch and ldapmodify operations.
Also I want to cron this script. I want to encrypt password/script so that no one can see the account and password.
I tried with :X but once you do that, the script no longer executable. Was thinking to limit the permissions to only root but many ppl have root access so it does not work.
I can not install any other packages for this so that I can not use shc or some sort.
I wanted to see if there is any other process so that no one can see/read/open the script/password.
Thanks
I'm not sure how that works with my script
I have a following script and password with in the variable admpwd. Instead of using the local variable, I dont know but may be put the password in a file and encrypt that file and use that file for the password...was something like that but again that did work for me..so checking for the other options
they have a root access on a server. but if I can protect the script somehow with a password and setup cron job, hoping no one can open/read the script without the password.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.