Artix Linux Forum

Artix Linux => System => Topic started by: mrbrklyn on 31 October 2017, 21:54:10

Title: Log in Problem
Post by: mrbrklyn on 31 October 2017, 21:54:10
I started a new box and something is wrong with the login system.  It is not behaving like I had ever expereinced.  You can login into the system with any random password, but su - is restricted to the proper passwords.

Code: [Select]
[ruben@flatbush 101CANON]$ ssh -l ruben -p 2222newbox
Password:
Tunnel device open failed.
Could not request tunnel forwarding.
auth=perm_denied
auth=success
cred=success
cred=success
Last login: Tue Oct 31 16:13:17 2017 from xx.xxx.xx.xx


Title: Re: Log in Problem
Post by: mrbrklyn on 31 October 2017, 22:31:30
Code: [Select]
%PAM-1.0

auth       requisite  pam_nologin.so
auth       required   pam_tally.so         onerr=succeed file=/var/log/faillog
auth       required   pam_shells.so
auth       include    system-auth
auth    [success=2 default=ok]  pam_debug.so auth=perm_denied cred=success
auth    [default=reset]         pam_debug.so auth=success cred=perm_denied
auth    [success=done default=die] pam_debug.so

account    required   pam_access.so     debug
account    required   pam_nologin.so
account    include    system-auth

password   include    system-auth

session    optional   pam_loginuid.so
session    include    system-auth
session    optional   pam_motd.so          motd=/etc/motd
session    optional   pam_mail.so          dir=/var/spool/mail standard quiet
-session   optional   pam_elogind.so
session    required   pam_env.so
~                                                                              
"system-login" 22L, 823C                 
Title: Re: Log in Problem
Post by: mrbrklyn on 31 October 2017, 22:47:33
Code: [Select]
#%PAM-1.0

auth      required  pam_unix.so      debug try_first_pass nullok
auth      optional  pam_permit.so
auth      required  pam_env.so

account   required  pam_unix.so
account   optional  pam_permit.so
account   required  pam_time.so

password  required  pam_unix.so     debug try_first_pass nullok sha512 shadow
password  optional  pam_permit.so

session   required  pam_limits.so
session   required  pam_unix.so
session   optional  pam_permit.so
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
~                                                                                                                                                                                                          
"/etc/pam.d/system-auth" 16L, 454C                     
Title: Re: Log in Problem
Post by: physkets on 01 November 2017, 12:56:44
@mrbrklyn Please but shell output inside
Code: [Select]
 code constructs: 
Title: Re: Log in Problem
Post by: mrbrklyn on 02 November 2017, 04:17:44
??
Title: Re: Log in Problem
Post by: physkets on 02 November 2017, 09:54:54
I meant to say that you should put file content, shell output etc. inside the "code" boxes.
Title: Re: Log in Problem
Post by: nous on 02 November 2017, 10:57:11

Put your output inside code tags.