Skip navigation
Currently Being Moderated

Cannot run using pam authenticated user?

Oct 24, 2007 5:07 AM

Using RHEL 4 on an institutional network in which users are centrally managed. Acroread 8.1.1 will not start with ordinary user as

acroread

(acroread:24638): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (.....)

Basically, this is not going to work.
 
Replies
  • Currently Being Moderated
    Oct 25, 2007 4:17 AM   in reply to (Robert_Atwood)
    Is your system configured to authenticate a user via LDAP or NIS?
    Can you try running acroread as local user (i.e. a user who is authenticated via /etc/passwd) or as root?

    Are you able to launch mozilla/firefox?
    Could you please paste the contents of the file /etc/nsswitch.conf?
     
    |
    Mark as:
  • Currently Being Moderated
    Oct 25, 2007 4:33 AM   in reply to (Robert_Atwood)
    Robert,

    Could you try changing the following lines in your /etc/nsswitch.conf:

    passwd: files
    shadow: files
    group: files

    to:

    passwd: files nis
    shadow: files nis
    group: files nis

    (You could also try adding 'ldap' to the lists.)

    Also, are you able to run other GTK/GLib-based applications, such as gedit?

    Ashutosh
     
    |
    Mark as:
  • Currently Being Moderated
    Oct 26, 2007 6:48 PM   in reply to (Robert_Atwood)
    I have this problem with AdobeReader_enu-8.1.1-1.i486.rpm on the 64-bit version of Mandriva 2008.0. I am using LDAP authentication. I can run acroread 8.1.1 as a local user (in /etc/passwd), but when I try to run it with an LDAP authenticated user, I get the error:

    (acroread:13062): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (10000)

    My /etc/nsswitch.conf looks like this (past the comment lines):
    passwd: files ldap compat
    shadow: files ldap
    group: files ldap compat

    hosts: files nis dns
    networks: files

    services: files
    protocols: files
    rpc: files
    ethers: files
    netmasks: files
    netgroup: files
    publickey: files

    bootparams: files
    automount: files ldap
    aliases: files

    If I do a "getent passwd" command, I do see user 10000.
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 25, 2007 9:36 AM   in reply to (Robert_Atwood)
    I am having the same problem.

    I am running on RedHat 4.5 64 bit. I have similar problems with any other 32 bit programs like acroread. I suspected the problem is that it needs a 32 bit nss_ldap but only the 64 bit lib is installed by default.

    I just installed the 32 bit version via
    # yum install nss_ldap.i386

    and it now works, including other programs like ooffice.

    -tom
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)