Page 4 of 4 FirstFirst ... 234
Results 31 to 37 of 37

Thread: HOWTO: pam_usb login with USB memory stick

  1. #31
    Join Date
    Aug 2009
    Location
    PA, USA, Earth
    Beans
    59
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: pam_usb login with USB memory stick

    How about those '--verbose' outputs? I want to see if the error is in PAMUSB, PAM, or HAL. It sounds like HAL is the source of that error based on the output you have provided. In which case you would be better off in a HAL forum as that isn't something you can just reinstall because it doesn't work.

    Is there any circumstance where adding a device does work, such as when you don't have any other devices on the USB tree? It might be that some device before your thumbdrive in the USB hierarchy isn't playing nicely with HAL.

    maybe post a "#lshw" so we have an idea of what your serial buses have on them.

    EDIT: Furthur searching shows that line 257-8 of pamusb-conf is :
    halService = bus.get_object('org.freedesktop.Hal', '/org/freedesktop/Hal/Manager')

    which is indeed the valid python code for connecting to HAL. which means you have a HAL error my friend and this is the wrong place for you.
    as a last ditch effort, try "#apt-get upgrade hal" but I severely doubt that will help at all.
    Last edited by HuckBerry; October 8th, 2009 at 10:37 PM.

  2. #32
    Join Date
    Nov 2007
    Beans
    12

    Re: HOWTO: pam_usb login with USB memory stick

    Sorry, forgot about the verbose. I was worried it might be HAL

    upgrade did download and upgrade HAL, but still the same problem. Thnx for the help anw

  3. #33

    Re: HOWTO: pam_usb login with USB memory stick

    Nice how-to. I'll try it tonight

  4. #34
    Join Date
    May 2010
    Beans
    1

    Re: HOWTO: pam_usb login with USB memory stick

    Quote Originally Posted by ninjak View Post
    Hi. I followed all the steps, but after the (successfull) login, NetworkManager (via gnome-keyring) ask me for my account's password. Anyone can suggest me what I have to change/use, please?
    Ditto for me. Nothing seems to be able to communicate with the gnome-keyring-service if I login with my usb key. If I login with my password everything is fine.

    I'm still pretty noobish so if someone can give me a hint as to where to start looking it would be much appreciated

  5. #35
    Join Date
    Jul 2007
    Beans
    2

    Re: HOWTO: pam_usb login with USB memory stick

    If have the same problem.

  6. #36
    Join Date
    Mar 2009
    Beans
    4

    Re: HOWTO: pam_usb login with USB memory stick

    Hey guys.

    The guide works perfect with 10.04, except I didn't need to make the keys (although I might have?)

    I have a really simple problem though, pamusb doesn't seem to be running before I log in, even though I added it to /etc/rc.local

    I put this line

    Code:
    /usr/bin/pamusb-agent &
    and, is there any way to make it just lock the computer when the USB is pulled? as opposed to fully logging me out.

    thanks guys!

    edit 2: i got it!, if anyone is having login problems, try adding the line to /etc/pam.d/gdm-autologin

    then set your account to auto login.

    it will autologin, but if you put pamusb.so before it then it will look for that first! i set mine to required.

    edit: what I really mean is that I still need to type in my password to log into gnome. I can see it working, trying to find the USB because there is a pause before the password box comes up. I am only guessing that it is not running before the login because afterwards it works fine.
    Last edited by haximusprime; July 18th, 2010 at 08:12 PM.

  7. #37
    Join Date
    Jan 2008
    Beans
    7

    Re: HOWTO: pam_usb login with USB memory stick

    If you're still having issues with logging out and X sessions, it's related to this bug:

    https://bugs.launchpad.net/ubuntu/+s...sb/+bug/558451

    The gdm sessions is crashing due to hal crashing, so it's not so much a "logout" so much as it is a crash.

Page 4 of 4 FirstFirst ... 234

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •