You are not logged in.
Hey Archers,
So for one of my new-years resolutions, I decided to keep a brief, daily diary, and for that I elected to use RedNotebook, a simple journaling program. The problem is, I don't want anybody who happens to use my laptop while I'm logged in to find RedNotebook. I know how some programs will simply not run at all unless provided with credentials (like GParted), and was wondering if I could mimic the same kind of thing with RedJournal. I suppose this might involve running RedJournal as root, but I'd like a graphical way to open it, so that I run a launcher and it prompts me for my password, for example.
Any advice would be great, thanks.
Offline
Instead of hiding the application, you could put the data the application works with in an encrypted container. Everybody could open the software, but nobody could open your files without a password. Look up EncFS and the "Disk encryption" article on the wiki.
Offline
Alternatively you could change the permissions of the executable so that only you can execute it. Then write a script/launcher/whatever to start it with gksu.
This is does not seem to be an elegant solution to me though...
Last edited by dice (2015-01-05 22:18:56)
I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do. (Gune | Titan A.E.)
Offline
For this I wrote a simple script to use gpg and open the file in my favorite plaintext editor. Then reencrypt when done, prompting for a password on decryption and a new one on encryption.
Decrypt > open > write > encrypt > remove decrypted copy > done
I can post the script if you want
Last edited by Kopkins (2015-01-06 05:54:43)
Offline