Coder Social home page Coder Social logo

segfault (Ubuntu 16.04.3 LTS) about ly HOT 2 CLOSED

fairyglade avatar fairyglade commented on June 2, 2024
segfault (Ubuntu 16.04.3 LTS)

from ly.

Comments (2)

nullgemm avatar nullgemm commented on June 2, 2024

Can you check if the pam library is where it's supposed to be ?

from ly.

GeorgeBroughton avatar GeorgeBroughton commented on June 2, 2024

Is this what i'm looking for?

$ ls /lib/x86_64-linux-gnu/security/
pam_access.so  pam_extrausers.so     pam_issue.so      pam_loginuid.so   pam_permit.so     pam_sepermit.so    pam_tally.so      pam_userdb.so
pam_debug.so   pam_faildelay.so      pam_keyinit.so    pam_mail.so       pam_pwhistory.so  pam_shells.so      pam_time.so       pam_warn.so
pam_deny.so    pam_filter.so         pam_lastlog.so    pam_mkhomedir.so  pam_rhosts.so     pam_stress.so      pam_timestamp.so  pam_wheel.so
pam_echo.so    pam_ftp.so            pam_limits.so     pam_motd.so       pam_rootok.so     pam_succeed_if.so  pam_tty_audit.so  pam_xauth.so
pam_env.so     pam_gnome_keyring.so  pam_listfile.so   pam_namespace.so  pam_securetty.so  pam_systemd.so     pam_umask.so
pam_exec.so    pam_group.so          pam_localuser.so  pam_nologin.so    pam_selinux.so    pam_tally2.so      pam_unix.so

just for reference, this is my makefile:

build/ly :
        mkdir -p ./build
        cc -std=c99 -pedantic -Wall -I src -L/lib/x86_64-linux-gnu/security -o build/ly src/main.c src/utils.c src/login.c src/ncui.c src/desktop.c -lform -lncurses -lpam -lpam_misc -lX11 -l:pam_loginuid.so

install : build/ly
        install -d /etc/ly
        install -D build/ly -t /usr/bin
        install -D ly.service -t /usr/lib/systemd/system
        ln -sf /lib/x86_64-linux-gnu/security/pam_loginuid.so /usr/lib/pam_loginuid.so

all : build/ly

clean :
        rm -rf build/ly

from ly.

Related Issues (20)

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.