Giter Club home page Giter Club logo

pam_wtid's Issues

Unable to install on macOS 12.4 - Did not find extension point with identifier

python3 patch.py /usr/lib/pam/pam_tid.so.2 pam_wtid.so
Opening /usr/lib/pam/pam_tid.so.2
Error dissasembling binary:
2022-06-20 22:47:13.012 xcodebuild[77066:19841223] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-06-20 22:47:13.012 xcodebuild[77066:19841223] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: error: unknown argument '-cho'

make: *** [pam_wtid.so] Error 1

XCode is Version 13.4.1 (13F100) (in case that matters)

Can't get pam_wtid to work on Ventura

Hi!

Trying to setup pam_witd on macOS 13.0 Ventura and getting an error when trying to use sudo after:

❯ make enable
sudo mkdir -p /usr/local/lib/pam
sudo install -b -o root -g wheel -m 444 pam_wtid.so /usr/local/lib/pam/pam_wtid.so.2
sudo sed -E -i ".bak" "1s/^(#.*)$/\1\nauth       sufficient     pam_wtid.so/" "/etc/pam.d/sudo"
❯ sudo vim /etc/pam.d/sudo
sudo: unable to initialize PAM: No such file or directory

This what the sudo file look like:

❯ cat /etc/pam.d/sudo
# sudo: auth account password session
auth       sufficient     pam_wtid.so
auth       sufficient     pam_smartcard.so
auth       required       pam_opendirectory.so
account    required       pam_permit.so
password   required       pam_deny.so
session    required       pam_permit.so

Obviously make disable fails because of the above sudo error.
I can revert by booting into recovery (M1 here).

Some info:

❯ sw_vers
ProductName:		macOS
ProductVersion:		13.0
BuildVersion:		22A380
❯ xcode-select -p
/Applications/Xcode-14.1.0.app/Contents/Developer

Let me know if you need more info.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.