You are not logged in.

#1 2009-03-23 00:06:53

trend900
Member
Registered: 2009-01-17
Posts: 14

Please, show me these files so i can restore them

Please, showme these files:

/etc/pam.d/gdm
/etc/pam.d/su
/etc/pam.d/login

thanks

Offline

#2 2009-03-23 00:18:36

my0pic
Member
From: Melbourne, Australia
Registered: 2008-05-23
Posts: 206

Re: Please, show me these files so i can restore them

Here you go...

bd@archie-bd ~ $ cat /etc/pam.d/gdm
#%PAM-1.0
auth            requisite       pam_nologin.so
auth            required        pam_env.so
auth            required        pam_unix.so
auth            optional        pam_gnome_keyring.so
account         required        pam_unix.so
session         required        pam_limits.so
session         required        pam_unix.so
session         optional        pam_gnome_keyring.so auto_start
password        required        pam_unix.so
bd@archie-bd ~ $ cat /etc/pam.d/su
#%PAM-1.0
auth        sufficient    pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel" group.
#auth        sufficient    pam_wheel.so trust use_uid
# Uncomment the following line to require a user to be in the "wheel" group.
#auth        required    pam_wheel.so use_uid
auth        required    pam_unix.so
account        required    pam_unix.so
session        required    pam_unix.so
bd@archie-bd ~ $ cat /etc/pam.d/login
#%PAM-1.0
auth        required    pam_securetty.so
auth        requisite    pam_nologin.so
auth        required    pam_unix.so nullok
auth        required    pam_tally.so onerr=succeed file=/var/log/faillog
# use this to lockout accounts for 10 minutes after 3 failed attempts
#auth        required    pam_tally.so deny=2 unlock_time=600 onerr=succeed file=/var/log/faillog
account        required    pam_access.so
account        required    pam_time.so
account        required    pam_unix.so
#password    required    pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3
#password    required    pam_unix.so md5 shadow use_authtok
session        required    pam_unix.so
session        required    pam_env.so
session        required    pam_motd.so
session        required    pam_limits.so
session        optional    pam_mail.so dir=/var/spool/mail standard
session        optional    pam_lastlog.so

Don't lose them again big_smile

Offline

#3 2009-03-23 00:24:51

trend900
Member
Registered: 2009-01-17
Posts: 14

Re: Please, show me these files so i can restore them

I was playing with thinkfinger and messed my files.

Thanks a lot! big_smile

Offline

#4 2009-03-23 01:43:17

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: Please, show me these files so i can restore them

For the future, 'pacman -Qo' on a file (even if you accidentally deleted it) will tell you what package has that file, and then you can reinstall that package smile

If your problem is solved, please edit your first post and add [SOLVED] to the thread title smile

Offline

Board footer

Powered by FluxBB