Skip to content
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

Consider Make.defs changes by NixOS #13

Open
solardiz opened this issue Dec 4, 2022 · 2 comments
Open

Consider Make.defs changes by NixOS #13

solardiz opened this issue Dec 4, 2022 · 2 comments

Comments

@solardiz
Copy link
Member

solardiz commented Dec 4, 2022

See if any of the changes from NixOS packaging of tcb by @Izorkin should be made upstream or should inspire other related changes upstream. NixOS/nixpkgs#203916

@Izorkin
Copy link

Izorkin commented Dec 6, 2022

@solardiz you can add an option to change location of tcb_chkpwd file? Assumed location /run/wrappers/bin/tcb_chkpwd

@Izorkin
Copy link

Izorkin commented Dec 6, 2022

Needed change \"$(LIBEXECDIR)/chkpwd/tcb_chkpwd\" to /run/wrappers/bin/tcb_chkpwd:

	$(CC) $(CFLAGS) -DCHKPWD_HELPER=\"$(LIBEXECDIR)/chkpwd/tcb_chkpwd\" \

I specify location of tcb_chkpwd via helper parameter:

  session required /nix/store/mc3j8gfm9jafs2ywy9xq96whg10fmn3k-tcb-1.2/lib/security/pam_tcb.so helper=/run/wrappers/bin/tcb_chkpwd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants