Re:Systemd needs official documentation on best practices
by avar on Friday November 08, 2019 @03:52PM
(#21486607)
Then don't do it the hard way and store something like a password in some general text file that needs to be parsed, just have the password in its own file. This is also good practice when that's otherwise a sane idea because you can apply separate permissions to that password file.
Working with that sort of file in C is trivial, you either open() and read() from that file, or mmap() it.
Working with that sort of file in C is trivial, you either open() and read() from that file, or mmap() it.