-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile without libpam? #232
Comments
The following should do it:
That builds just the |
True, but i'm compiling a static binary and it always holds all the libpam data and it looks like it tries to make use of it at startup indeed (the error is due to missing /etc/passwd).
That's my compile command (cross-compile environment is set up):
|
So I think the issue here is that you just don't want to use user login passwords at all. @BlueMax is that right? In that case, we should should have a way to compile the
|
Yes, a new make target |
@BlueMax did you get this running on the Android device? Looking to build binaries for both 32bit and 64bit arm to run on newer Android devices but not luck so far to make a static build, unfortunately. @josephlr any updates on the flag to compile fscryptc without pam, ref. what you mentioned a few posts above. |
I also encountered this error when I copied the generated executable to qemu's linux kernel using static compilation, how should I solve it? |
I could compile and run it but i haven't checked for actual functionality. It needs dummy/existing /etc/passwd file if i reckon correctly (error: cannot look up userids). I used the compile line below. The
|
Is it possible to compile fscrypt without libpam for systems that do not support it?
The text was updated successfully, but these errors were encountered: