Toon posts:

Kan niet meer lokaal inloggen na installatie ssh

Pagina: 1
Acties:

Verwijderd

Topicstarter
Sinds ik gister een ssh daemon geinstalleerd heb op mijn archlinux bak(openssh), kan ik niet meer lokaal inloggen ! Ik kan via ssh wel mijn bak bedienen (gelukkig heb ik rootpermission op ON staan). Als ik login doe krijg ik dit:

# login: Pam Failure, aborting: Critical error - immediate abort.

Iemand een idee wat dit is ?
/etc/passwd en /etc/group bestaan gewoon nog.
Ik heb geen idee wat er mis is gegaan.

passwd opnieuw setten vanuit ssh lukt ook niet, dan krijg ik dit:
passwd: pam_start() failed, error 26

iemand???

  • blaataaps
  • Registratie: Juli 2001
  • Niet online
Ik heb even de topictitel wat minder schreeuwerig gemaakt, en wat informatiever. En komt er ook iets in de logs of helemaal niks? Wat voor dingen heb je allemaal veranderd toen je ssh installeerde, hoe heb je ssh geinstalleerd?

Verwijderd

Topicstarter
Ik heb openssh gewoon met de package manager pacman geinstalleerd. De standaard configuratiefile sshd_config kwam ik niet helemaal uit, ik heb een voorbeeldbestand van een website geplukt (zie onder), en die werkte dus. Helemaal onderaan staat mijn /var/log/errors. Er wordt sommige periodes elke seconde een error gegeven van dat er geen shadow informatie is voor 'NOUSER", terwijl ik dat niet echt terugzie in sshd_config... ik kom er niet echt uit.

----------------------------sshd_config-----------------------------------------

# rhosts authentication should not be used
#RhostsAuthentication no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no

# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no

# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes

#AFSTokenPassing no

# Kerberos TGT Passing only works with the AFS kaserver
#KerberosTgtPassing no

# Set this to 'yes' to enable PAM keyboard-interactive authentication
# Warning: enabling this may bypass the setting of 'PasswordAuthentication'
#PAMAuthenticationViaKbdInt yes

#Allow X display forwarding
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#KeepAlive yes
#UseLogin no
UsePrivilegeSeparation yes
#Compression yes

#MaxStartups 10
# no default banner path
#Banner /some/path
#VerifyReverseMapping no

# override default of no subsystems
Subsystem sftp /usr/lib/ssh/sftp-server

#Do not allow root login
PermitRootLogin yes
---------------------------------------------------------------------


----------------------------/var/log/errors-----------------------------------------
Nov 28 01:36:25 Archus sshd[3656]: error: Could not get shadow information for NOUSER
Nov 28 01:36:35 Archus sshd[3659]: error: Could not get shadow information for NOUSER
Nov 28 01:38:17 Archus sshd[3656]: fatal: Timeout before authentication for 81.181.125.96
Nov 28 01:38:29 Archus sshd[3659]: fatal: Timeout before authentication for 81.181.125.96
Nov 28 20:54:41 Archus login(pam_unix)[4203]: check pass; user unknown
Nov 29 10:11:27 Archus kernel: VFS: Can't find ext3 filesystem on dev loop1.
Nov 29 10:15:36 Archus kernel: VFS: Can't find ext3 filesystem on dev loop2.
Nov 29 10:16:28 Archus kernel: VFS: Can't find ext3 filesystem on dev loop0.
Nov 29 10:53:33 Archus kernel: audit(1101725591.681:0): initialized
Nov 29 13:43:37 Archus sshd[2384]: error: Could not get shadow information for NOUSER
Nov 29 13:43:38 Archus sshd[2387]: error: Could not get shadow information for NOUSER
Nov 29 13:43:38 Archus sshd[2390]: error: Could not get shadow information for NOUSER
Nov 29 13:43:38 Archus sshd[2393]: error: Could not get shadow information for NOUSER
Nov 29 14:08:40 Archus sshd[2413]: error: Could not get shadow information for NOUSER
Nov 29 14:08:41 Archus sshd[2416]: error: Could not get shadow information for NOUSER
Nov 29 14:08:43 Archus sshd[2419]: error: Could not get shadow information for NOUSER
Nov 29 14:08:44 Archus sshd[2422]: error: Could not get shadow information for NOUSER
Nov 29 14:08:45 Archus sshd[2425]: error: Could not get shadow information for NOUSER
Nov 29 14:08:46 Archus sshd[2428]: error: Could not get shadow information for NOUSER
Nov 29 14:08:48 Archus sshd[2431]: error: Could not get shadow information for NOUSER
Nov 29 14:08:49 Archus sshd[2434]: error: Could not get shadow information for NOUSER
Nov 29 14:08:50 Archus sshd[2437]: error: Could not get shadow information for NOUSER
Nov 29 14:08:51 Archus sshd[2440]: error: Could not get shadow information for NOUSER
Nov 29 14:08:53 Archus sshd[2443]: error: Could not get shadow information for NOUSER
Nov 29 14:08:54 Archus sshd[2446]: error: Could not get shadow information for NOUSER
Nov 29 14:08:55 Archus sshd[2449]: error: Could not get shadow information for NOUSER
Nov 29 14:08:56 Archus sshd[2452]: error: Could not get shadow information for NOUSER
Nov 29 14:08:57 Archus sshd[2455]: error: Could not get shadow information for NOUSER
Nov 29 14:08:58 Archus sshd[2458]: error: Could not get shadow information for NOUSER
Nov 29 14:09:00 Archus sshd[2461]: error: Could not get shadow information for NOUSER
Nov 29 14:09:01 Archus sshd[2464]: error: Could not get shadow information for NOUSER
Nov 29 14:09:02 Archus sshd[2467]: error: Could not get shadow information for NOUSER
Nov 29 14:09:03 Archus sshd[2470]: error: Could not get shadow information for NOUSER
Nov 29 14:09:04 Archus sshd[2473]: error: Could not get shadow information for NOUSER
Nov 29 14:09:06 Archus sshd[2476]: error: Could not get shadow information for NOUSER
Nov 29 14:09:07 Archus sshd[2479]: error: Could not get shadow information for NOUSER
Nov 29 14:09:08 Archus sshd[2482]: error: Could not get shadow information for NOUSER
Nov 29 14:09:09 Archus sshd[2485]: error: Could not get shadow information for NOUSER
Nov 29 14:09:11 Archus sshd[2488]: error: Could not get shadow information for NOUSER
Nov 29 14:09:12 Archus sshd[2491]: error: Could not get shadow information for NOUSER
Nov 29 14:09:13 Archus sshd[2494]: error: Could not get shadow information for NOUSER
Nov 29 14:09:14 Archus sshd[2497]: error: Could not get shadow information for NOUSER
Nov 29 14:09:15 Archus sshd[2500]: error: Could not get shadow information for NOUSER
Nov 29 14:09:17 Archus sshd[2503]: error: Could not get shadow information for NOUSER
Nov 29 14:09:18 Archus sshd[2506]: error: Could not get shadow information for NOUSER
Nov 29 14:09:19 Archus sshd[2509]: error: Could not get shadow information for NOUSER
Nov 29 14:09:20 Archus sshd[2512]: error: Could not get shadow information for NOUSER
Nov 29 14:09:22 Archus sshd[2515]: error: Could not get shadow information for NOUSER
Nov 29 14:09:23 Archus sshd[2518]: error: Could not get shadow information for NOUSER
Nov 29 14:09:24 Archus sshd[2521]: error: Could not get shadow information for NOUSER
Nov 29 14:09:25 Archus sshd[2524]: error: Could not get shadow information for NOUSER
Nov 29 14:09:26 Archus sshd[2527]: error: Could not get shadow information for NOUSER
Nov 29 14:09:28 Archus sshd[2530]: error: Could not get shadow information for NOUSER
Nov 29 14:09:29 Archus sshd[2533]: error: Could not get shadow information for NOUSER
Nov 29 14:09:31 Archus sshd[2539]: error: Could not get shadow information for NOUSER
Nov 29 14:09:33 Archus sshd[2542]: error: Could not get shadow information for NOUSER
Nov 29 14:09:34 Archus sshd[2545]: error: Could not get shadow information for NOUSER
Nov 29 14:09:35 Archus sshd[2548]: error: Could not get shadow information for NOUSER
Nov 29 14:09:36 Archus sshd[2551]: error: Could not get shadow information for NOUSER
Nov 29 14:09:37 Archus sshd[2554]: error: Could not get shadow information for NOUSER
Nov 29 14:09:39 Archus sshd[2557]: error: Could not get shadow information for NOUSER
Nov 29 14:09:40 Archus sshd[2560]: error: Could not get shadow information for NOUSER
Nov 29 14:09:41 Archus sshd[2563]: error: Could not get shadow information for NOUSER
Nov 29 14:09:47 Archus sshd[2566]: error: Could not get shadow information for NOUSER
Nov 29 14:09:49 Archus sshd[2569]: error: Could not get shadow information for NOUSER
Nov 29 14:09:50 Archus sshd[2572]: error: Could not get shadow information for NOUSER
Nov 29 14:09:51 Archus sshd[2575]: error: Could not get shadow information for NOUSER
Nov 29 14:25:38 Archus sshd[2730]: error: Could not get shadow information for NOUSER
Nov 29 14:25:41 Archus sshd[2733]: error: Could not get shadow information for NOUSER
Nov 29 14:25:44 Archus sshd[2736]: error: Could not get shadow information for NOUSER
Nov 29 14:25:46 Archus sshd[2739]: error: Could not get shadow information for NOUSER
Nov 29 14:50:52 Archus sshd[3115]: error: Could not get shadow information for NOUSER
Nov 29 14:50:56 Archus sshd[3118]: error: Could not get shadow information for NOUSER
Nov 29 16:48:06 Archus sshd[3278]: error: Could not get shadow information for NOUSER
Nov 29 16:48:07 Archus sshd[3281]: error: Could not get shadow information for NOUSER
Nov 29 16:48:12 Archus sshd[3303]: error: Could not get shadow information for NOUSER
Nov 29 16:48:13 Archus sshd[3306]: error: Could not get shadow information for NOUSER
Nov 29 16:48:13 Archus sshd[3310]: error: Could not get shadow information for NOUSER
Nov 29 16:48:14 Archus sshd[3313]: error: Could not get shadow information for NOUSER
Nov 29 16:48:15 Archus sshd[3316]: error: Could not get shadow information for NOUSER
Nov 29 16:48:16 Archus sshd[3319]: error: Could not get shadow information for NOUSER
Nov 29 16:48:17 Archus sshd[3323]: error: Could not get shadow information for NOUSER
Nov 29 16:48:20 Archus sshd[3338]: error: Could not get shadow information for NOUSER
Nov 29 16:48:21 Archus sshd[3341]: error: Could not get shadow information for NOUSER
Nov 29 16:48:22 Archus sshd[3344]: error: Could not get shadow information for NOUSER
Nov 29 16:48:23 Archus sshd[3347]: error: Could not get shadow information for NOUSER
Nov 29 16:48:23 Archus sshd[3350]: error: Could not get shadow information for NOUSER
Nov 29 16:48:24 Archus sshd[3353]: error: Could not get shadow information for NOUSER
Nov 29 16:48:25 Archus sshd[3356]: error: Could not get shadow information for NOUSER
Nov 29 16:48:26 Archus sshd[3359]: error: Could not get shadow information for NOUSER
Nov 29 16:48:29 Archus sshd[3371]: error: Could not get shadow information for NOUSER
Nov 29 16:48:30 Archus sshd[3374]: error: Could not get shadow information for NOUSER
Nov 29 16:48:35 Archus sshd[3392]: error: Could not get shadow information for NOUSER
Nov 29 16:49:04 Archus sshd[3503]: error: Could not get shadow information for NOUSER
Nov 29 16:49:05 Archus sshd[3506]: error: Could not get shadow information for NOUSER
Nov 29 16:49:07 Archus sshd[3512]: error: Could not get shadow information for NOUSER
Nov 29 16:49:11 Archus sshd[3527]: error: Could not get shadow information for NOUSER
Nov 29 16:49:11 Archus sshd[3530]: error: Could not get shadow information for NOUSER
Nov 29 16:49:12 Archus sshd[3533]: error: Could not get shadow information for NOUSER
Nov 29 16:49:13 Archus sshd[3536]: error: Could not get shadow information for NOUSER
Nov 29 16:49:14 Archus sshd[3539]: error: Could not get shadow information for NOUSER
Nov 29 16:49:14 Archus sshd[3542]: error: Could not get shadow information for NOUSER
Nov 29 17:22:07 Archus sshd[4294]: error: Could not get shadow information for NOUSER
Nov 29 17:22:10 Archus sshd[4297]: error: Could not get shadow information for NOUSER
Nov 29 17:22:14 Archus sshd[4300]: error: Could not get shadow information for NOUSER
Nov 29 17:22:17 Archus sshd[4303]: error: Could not get shadow information for NOUSER
Nov 30 15:35:42 Archus dhcpcd[677]: terminating on signal 15
Nov 30 15:36:31 Archus kernel: audit(1101828972.334:0): initialized
Nov 30 16:07:15 Archus sshd: warning: /etc/hosts.allow, line 2: missing newline or line too long
Nov 30 20:56:35 Archus sshd: warning: /etc/hosts.allow, line 2: missing newline or line too long
Nov 30 20:58:28 Archus sshd: warning: /etc/hosts.allow, line 2: missing newline or line too long
Nov 30 21:05:28 Archus sshd: warning: /etc/hosts.allow, line 2: missing newline or line too long
Nov 30 21:07:40 Archus sshd: warning: /etc/hosts.allow, line 2: missing newline or line too long
Nov 30 21:12:12 Archus dhcpcd[727]: terminating on signal 15
Nov 30 21:12:57 Archus sshd: warning: /etc/hosts.allow, line 4: missing newline or line too long
Nov 30 21:31:09 Archus dhcpcd[1676]: terminating on signal 15
Nov 30 21:31:40 Archus sshd: warning: /etc/hosts.allow, line 4: missing newline or line too long
Nov 30 21:31:40 Archus sshd: warning: host name/address mismatch: 207.33.111.36 != scan.sygate.com
Dec 1 12:01:55 Archus sshd: warning: /etc/hosts.allow, line 4: missing newline or line too long
Dec 1 18:49:15 Archus dhcpcd[1929]: terminating on signal 15
Dec 1 18:50:05 Archus kernel: audit(1101926984.006:0): initialized
Dec 1 19:20:22 Archus dhcpcd[727]: terminating on signal 15
Dec 1 19:21:11 Archus kernel: audit(1101928848.582:0): initialized
Dec 1 22:16:58 Archus dhcpcd[727]: terminating on signal 15
Dec 2 12:08:57 Archus kernel: audit(1101989315.4294965808:0): initialized
Dec 2 12:09:45 Archus sshd: warning: /etc/hosts.allow, line 4: missing newline or line too long
Dec 2 12:11:20 Archus proftpd[1111]: gdtobias.xs4all.nl (82-136-201-93-mx.xdsl.tiscali.nl[82.136.201.93]) - SECURITY VIOLATION: root login attempted.
Dec 2 12:11:32 Archus proftpd[1111]: gdtobias.xs4all.nl (82-136-201-93-mx.xdsl.tiscali.nl[82.136.201.93]) - SECURITY VIOLATION: root login attempted.
Dec 2 12:13:01 Archus sshd: warning: /etc/hosts.allow, line 4: missing newline or line too long
Dec 2 12:13:43 Archus sshd: warning: /etc/hosts.allow, line 4: missing newline or line too long
Dec 2 12:16:17 Archus sshd: warning: /etc/hosts.allow, line 4: missing newline or line too long
Dec 2 12:19:31 Archus last message repeated 3 times
Dec 2 16:09:00 Archus proftpd[1270]: gdtobias.xs4all.nl (gdtobias.xs4all.nl[10.0.0.150]) - SECURITY VIOLATION: root login attempted.
Dec 2 16:09:34 Archus sshd: warning: /etc/hosts.allow, line 4: missing newline or line too long
Dec 2 16:11:26 Archus sshd: warning: /etc/hosts.allow, line 4: missing newline or line too long
Dec 2 18:53:57 Archus dhcpcd[727]: terminating on signal 15
Dec 2 18:59:10 Archus dhcpcd[1757]: terminating on signal 15
Dec 2 19:00:19 Archus login(pam_unix)[1823]: check pass; user unknown
Dec 2 20:41:01 Archus rssh[2040]: user root attempted to log in with a shell
Dec 2 20:42:29 Archus rssh[2093]: user root attempted to log in with a shell
Dec 2 20:49:35 Archus login(pam_unix)[2227]: check pass; user unknown
Dec 2 20:55:22 Archus su: PAM _pam_init_handlers: no default config /etc/pam.d/other
Dec 2 20:55:22 Archus su: PAM error reading PAM configuration file
Dec 2 20:55:22 Archus su: PAM pam_start: failed to initialize handlers
Dec 2 20:55:22 Archus su: PAM pam_end: NULL pam handle passed
Dec 2 22:39:42 Archus dhcpcd[1810]: terminating on signal 15
Dec 3 08:54:02 Archus kernel: audit(1102064007.122:0): initialized
Dec 3 08:55:37 Archus login[1044]: PAM _pam_init_handlers: no default config /etc/pam.d/other
Dec 3 08:55:37 Archus login[1044]: PAM error reading PAM configuration file
Dec 3 08:55:37 Archus login[1044]: PAM pam_start: failed to initialize handlers
Dec 3 08:55:37 Archus login[1044]: Couldn't initialize PAM: Critical error - immediate abort
Dec 3 08:55:40 Archus login[1140]: PAM _pam_init_handlers: no default config /etc/pam.d/other
Dec 3 08:55:40 Archus login[1140]: PAM error reading PAM configuration file
Dec 3 08:55:40 Archus login[1140]: PAM pam_start: failed to initialize handlers
Dec 3 08:55:40 Archus login[1140]: Couldn't initialize PAM: Critical error - immediate abort
Dec 3 08:55:44 Archus login[1193]: PAM _pam_init_handlers: no default config /etc/pam.d/other
Dec 3 08:55:44 Archus login[1193]: PAM error reading PAM configuration file
Dec 3 08:55:44 Archus login[1193]: PAM pam_start: failed to initialize handlers
Dec 3 08:55:44 Archus login[1193]: Couldn't initialize PAM: Critical error - immediate abort
Dec 3 08:55:46 Archus login[1235]: PAM _pam_init_handlers: no default config /etc/pam.d/other
Dec 3 08:55:46 Archus login[1235]: PAM error reading PAM configuration file
Dec 3 08:55:46 Archus login[1235]: PAM pam_start: failed to initialize handlers
Dec 3 08:55:46 Archus login[1235]: Couldn't initialize PAM: Critical error - immediate abort
Dec 3 08:55:49 Archus login[1291]: PAM _pam_init_handlers: no default config /etc/pam.d/other
Dec 3 08:55:49 Archus login[1291]: PAM error reading PAM configuration file
Dec 3 08:55:49 Archus login[1291]: PAM pam_start: failed to initialize handlers
Dec 3 08:55:49 Archus login[1291]: Couldn't initialize PAM: Critical error - immediate abort
Dec 3 08:56:34 Archus kernel: audit(1102064173.456:0): initialized
Dec 3 08:56:37 Archus login[1042]: PAM _pam_init_handlers: no default config /etc/pam.d/other
Dec 3 08:56:37 Archus login[1042]: PAM error reading PAM configuration file
Dec 3 08:56:37 Archus login[1042]: PAM pam_start: failed to initialize handlers
Dec 3 08:56:37 Archus login[1042]: Couldn't initialize PAM: Critical error - immediate abort
Dec 3 11:59:48 Archus login[1227]: PAM _pam_init_handlers: no default config /etc/pam.d/other
Dec 3 11:59:48 Archus login[1227]: PAM error reading PAM configuration file
Dec 3 11:59:48 Archus login[1227]: PAM pam_start: failed to initialize handlers
Dec 3 11:59:48 Archus login[1227]: Couldn't initialize PAM: Critical error - immediate abort
Dec 3 12:02:25 Archus passwd[1229]: PAM _pam_init_handlers: no default config /etc/pam.d/other
Dec 3 12:02:25 Archus passwd[1229]: PAM error reading PAM configuration file
Dec 3 12:02:25 Archus passwd[1229]: PAM pam_start: failed to initialize handlers
Dec 3 12:02:28 Archus passwd[1230]: PAM _pam_init_handlers: no default config /etc/pam.d/other
Dec 3 12:02:28 Archus passwd[1230]: PAM error reading PAM configuration file
Dec 3 12:02:28 Archus passwd[1230]: PAM pam_start: failed to initialize handlers
Dec 3 12:08:53 Archus passwd[1241]: PAM _pam_init_handlers: no default config /etc/pam.d/other
Dec 3 12:08:53 Archus passwd[1241]: PAM error reading PAM configuration file
Dec 3 12:08:53 Archus passwd[1241]: PAM pam_start: failed to initialize handlers
Dec 3 14:06:46 Archus login[1160]: PAM _pam_init_handlers: no default config /etc/pam.d/other
Dec 3 14:06:46 Archus login[1160]: PAM error reading PAM configuration file
Dec 3 14:06:46 Archus login[1160]: PAM pam_start: failed to initialize handlers
Dec 3 14:06:46 Archus login[1160]: Couldn't initialize PAM: Critical error - immediate abort

  • blaataaps
  • Registratie: Juli 2001
  • Niet online
Dec 3 11:59:48 Archus login[1227]: PAM _pam_init_handlers: no default config /etc/pam.d/other
Dec 3 11:59:48 Archus login[1227]: PAM error reading PAM configuration file
Dec 3 11:59:48 Archus login[1227]: PAM pam_start: failed to initialize handlers
Dec 3 11:59:48 Archus login[1227]: Couldn't initialize PAM: Critical error - immediate abort
lijkt je dat niet een indicatie dat iets je pam config om zeep geholpen heeft en dat je in die richting moet zoeken?

Verwijderd

Topicstarter
ik heb het opgelost door pam te herinstalleren... de file /etc/pam.d/other bestond niet volgens het log. Kweet niet waar dat aan gelegen heeft, maar nu staat-ie er weer bij...