Results 1 to 7 of 7

Thread: what does /etc/pam.d/gdm look like

  1. #1
    Join Date
    Feb 2008
    Location
    UK
    Beans
    240
    Distro
    Ubuntu

    what does /etc/pam.d/gdm look like

    Hello

    I've been a bit of a twit and completely messed up my '/etc/pam.d/gdm' file without backing it up, and I don't remember what was in it. So I was wondering if anyone could tell me what is in the basic, lucid (10.04), non-edited, version of this file please. Thank you in advance.

    -Joshua
    Evil terminator ran on windows, the good terminator ran on ubuntu. shows you that it is good to switch or sarah connor would have been killed by bill gates.

  2. #2
    Join Date
    Oct 2005
    Location
    Pennsylvania, USA
    Beans
    86
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: what does /etc/pam.d/gdm look like

    Code:
    #%PAM-1.0
    auth    requisite       pam_nologin.so
    auth    required        pam_env.so readenv=1
    auth    required        pam_env.so readenv=1 envfile=/etc/default/locale
    auth    sufficient      pam_succeed_if.so user ingroup nopasswdlogin
    @include common-auth
    auth    optional        pam_gnome_keyring.so
    @include common-account
    session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close
    session required        pam_limits.so
    @include common-session
    session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open
    session optional        pam_gnome_keyring.so auto_start
    @include common-password
    Jim

  3. #3
    Join Date
    Dec 2008
    Location
    Cleveland, OH, USA
    Beans
    489
    Distro
    Ubuntu Studio Development Release

    Re: what does /etc/pam.d/gdm look like

    Quote Originally Posted by flanagan View Post
    Code:
    #%PAM-1.0
    auth    requisite       pam_nologin.so
    auth    required        pam_env.so readenv=1
    auth    required        pam_env.so readenv=1 envfile=/etc/default/locale
    auth    sufficient      pam_succeed_if.so user ingroup nopasswdlogin
    @include common-auth
    auth    optional        pam_gnome_keyring.so
    @include common-account
    session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close
    session required        pam_limits.so
    @include common-session
    session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open
    session optional        pam_gnome_keyring.so auto_start
    @include common-password
    +1

    mine's exactly the same as this...
    Be sure to mark your thread [SOLVED] if your issue has been fixed!
    How to get answers as quickly as possible | Wireless Issue? | How to use 'Code' tags

  4. #4
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: what does /etc/pam.d/gdm look like

    You can run:
    Code:
    dpkg -S path/to/file
    to find the package which provides the conffile.

    Rename the file, then run:
    Code:
    sudo apt-get -o DPkg::Options::="--force-confmiss" --reinstall install package
    to force the package manager to reinstall the package and to install the missing conffile(s).

    NOTE: this will reinstall ALL the missing conffiles provided by the package.

  5. #5
    Join Date
    Feb 2008
    Location
    UK
    Beans
    240
    Distro
    Ubuntu

    Re: what does /etc/pam.d/gdm look like

    thank you, it seems to be fixed now

    -joshua
    Evil terminator ran on windows, the good terminator ran on ubuntu. shows you that it is good to switch or sarah connor would have been killed by bill gates.

  6. #6
    Join Date
    Aug 2011
    Location
    CZ, Ostrava
    Beans
    1
    Distro
    Ubuntu 10.04 Lucid Lynx

    Smile Re: what does /etc/pam.d/gdm look like

    Quote Originally Posted by sisco311 View Post
    You can run:
    Code:
    dpkg -S path/to/file
    to find the package which provides the conffile.

    Rename the file, then run:
    Code:
    sudo apt-get -o DPkg::Options::="--force-confmiss" --reinstall install package
    to force the package manager to reinstall the package and to install the missing conffile(s).

    NOTE: this will reinstall ALL the missing conffiles provided by the package.
    Thak you very much. You saved me many hours of my life.
    Only for bigger begginers "lamas" than me

    rosta@rosta-desktop:~$ dpkg -S etc/pam.d/gdm
    gdm: /etc/pam.d/gdm-autologin
    gdm: /etc/pam.d/gdm

    the package name is gdm

  7. #7
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: what does /etc/pam.d/gdm look like

    Quote Originally Posted by atsor View Post
    Thak you very much. You saved me many hours of my life.
    Only for bigger begginers "lamas" than me

    rosta@rosta-desktop:~$ dpkg -S etc/pam.d/gdm
    gdm: /etc/pam.d/gdm-autologin
    gdm: /etc/pam.d/gdm

    the package name is gdm
    You are welcome!

Tags for this Thread

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
  •