Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Not a helpful comment, BW, I'm sorry to say. If you disagree with something the previous poster said, can you counter their arguments or post a critique rather than this? Many thanks.
Not a helpful comment, BW, I'm sorry to say. If you disagree with something the previous poster said, can you counter their arguments or post a critique rather than this? Many thanks.
oh gezzz you cannot figure it out so you just assumed it was I trying to start an argument? I said color ME stupid, .... then I was informed that it is for some data base thing ... read his post, then ALL I said what what color crayon did you (he) use.
can you not understand the course of events that took place? no arguments out of me whatsoever. I am now removing that email me link to this post. have a informed day.
oh gezzz you cannot figure it out so you just assumed it was I trying to start an argument? I said color ME stupid, .... then I was informed that it is for some data base thing ... read his post, then ALL I said what what color crayon did you (he) use.
can you not understand the course of events that took place? no arguments out of me whatsoever. I am now removing that email me link to this post. have a informed day.
Ah, humour - not quite international yet. No, I still don't understand your chain of thoughts but ok, fair enough. Onwards and upwards...
One possible method is to have the 'front machine' use ssh keys to connect to the db box and run a script there that has the user/passwd reqd.
A variation (on front box) is to use ssh-agent to get the key into memory and leave the process running as a daemon that can then run other scripts on the db box.
That's the rub. Ive heard of some type of key server type of thing, but don't know anything about them.
Supposedly you can checkout the password dynamically, in memory, but I don't know what they are called or anything else.
That would probably be keyrings - gnome has an implementation that allows users to store secret data. There are even python bindings for it.
I have no personal experience coding for it, but your favourite search engine should be of use.
I'd be tempted to look at a similar differnt authentication method that doesn't rely on trying to hide a password. Use of a self signed certificate may work unless you wish to purchase one.
Yeah It prompts the user to type in password so I believe it reads from the terminal.. I don't think this would be of help then, since no one would be there to type it in.. Im actually trying to solve the same problem (I think) in the thread I just made today in programming (to automate the creation of passwords for my automated creation of users).. You can request to have your thread moved to the programming section aswell where it may get more responses..
Last edited by justmy2cents; 05-25-2017 at 04:31 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.