Kovács Attila <ka...@l3.hu> írta (2012. október 16. 18:12):
> 2012.10.16. 17:11 keltezéssel, Zoltán Gerendás írta:
>> Kaptam egy 33 KB-es logot.
>> Ide tettem: http://www.wmszki.hu/strace.log
>> Nem tudom mit keressek benne.
>>
> Szerintem valamelyik fájlod sérült/üres.
> Pölö az /etc/group


> egy ls -la outputot tudnál nyomni a /etc-ről,

armebi:/etc/pam.d# ls -la /etc/
total 231
drwxrwxrwt  1 root root     240 Oct 16 15:05 .
drwxr-xr-x 26 root root       0 Jan  1  1970 ..
-rw-------  1 root root       0 Jan  6  2011 .pwd.lock
drwxrwx---  1 root root       0 Jan  1  2000 .unionfs
-rw-r--r--  1 root root    2986 Jan  6  2011 adduser.conf
-rw-r--r--  1 root root      44 Oct 16 16:05 adjtime
-rw-r--r--  1 root root     185 Aug 29 13:20 aliases
drwxr-xr-x  1 root root       0 Jun 26  2008 alsa
drwxr-xr-x  1 root root       0 Sep 14 15:34 alternatives
-rw-r--r--  1 root root     401 May 23 01:11 anacrontab
drwxr-xr-x  1 root root       0 Jul  3 13:44 apache2
drwxr-xr-x  1 root root       0 Jul  3 13:44 apm
drwxr-xr-x  1 root root       0 Aug 29 12:59 apt
-rw-r--r--  1 root root    1895 Jul 13 00:41 bash.bashrc
-rw-r--r--  1 root root      45 Jun 17 19:08 bash_completion
drwxr-xr-x  1 root root       0 Dec  1  2008 bash_completion.d
-rw-r--r--  1 root root     356 Jul 22 18:58 bindresvport.blacklist
drwxr-xr-x  1 root root       0 Jun 23 17:40 ca-certificates
-rw-r--r--  1 root root    6854 Aug 29 13:24 ca-certificates.conf
drwxr-xr-x  1 root root       0 Jan 23  2012 calendar
drwxr-s---  1 root dip        0 Mar 28  2011 chatscripts
drwxr-xr-x  1 root root       0 Sep 19 09:41 cron.d
drwxr-xr-x  1 root root       0 Sep 14 15:32 cron.daily
drwxr-xr-x  1 root root       0 Jul  3 22:16 cron.hourly
drwxr-xr-x  1 root root       0 Nov  2  2009 cron.monthly
drwxr-xr-x  1 root root       0 Sep 14 15:32 cron.weekly
-rw-r--r--  1 root root     722 Jul  3 22:16 crontab
drwxr-xr-x  1 root root       0 Aug 29 13:30 dbus-1
-rw-r--r--  1 root root    2969 Oct 12  2008 debconf.conf
-rw-r--r--  1 root root      11 Feb  7  2011 debian_version
drwxr-xr-x  1 root root       0 Sep 19 09:41 default
-rw-r--r--  1 root root     604 May 15 20:48 deluser.conf
drwxr-xr-x  1 root root       0 Jun 25 13:53 dhcp
drwxr-xr-x  1 root root       0 Jun 26 12:41 dhcp3
drwxr-xr-x  1 root root       0 Mar  3  2012 dma
-rw-r--r--  1 root root   24652 Oct 15 13:29 dnsmasq.conf
drwxr-xr-x  1 root root       0 Jun 11 20:53 dnsmasq.d
drwxr-xr-x  1 root root       0 Sep  4 13:16 dpkg
drwxr-xr-x  1 root root       0 Feb 27  2012 dropbear
-rw-r--r--  1 root root       0 Jan  6  2011 environment
-rw-r--r--  1 root root    1213 Oct 15 13:46 fstab
drwxr-xr-x  1 root root       0 Jun 23 09:29 fstab.d
-rw-r-----  1 root fuse     216 Feb  1  2010 fuse.conf
-rw-r--r--  1 root root    2940 Feb 13  2012 gai.conf
drwxr-xr-x  1 root root       0 Aug 26  2008 groff
-rw-r--r--  1 root root     601 Oct 16 15:04 group
-rw-------  1 root root     587 Sep 14 15:32 group-
-rw-r--r--  1 root root     564 Oct 16 15:04 gshadow
-rw-------  1 root root     554 Sep 14 15:32 gshadow-
-rw-r--r--  1 root root     899 Apr 19  2008 gssapi_mech.conf
-rw-r--r--  1 root root       9 Aug  7  2006 host.conf
drwxr-xr-x  1 root root       0 Jun  3 09:18 hostapd
-rw-r--r--  1 root root       6 Jan 21  2011 hostname
-rw-r--r--  1 root root      55 Jan 21  2011 hosts
-rw-r--r--  1 root root     579 Jan  6  2011 hosts.allow
-rw-r--r--  1 root root     878 Jan  6  2011 hosts.deny
drwxr-xr-x  1 root root       0 Aug 29 12:35 ifplugd
-rw-r--r--  1 root root    1056 Mar 28  2011 inetd.conf
drwxr-xr-x  1 root root       0 Aug 11 17:30 init
drwxr-xr-x  1 root root       0 Sep 19 11:40 init.d
-rw-r--r--  1 root root    1909 Jul  2 14:15 inittab
-rw-r--r--  1 root root    1723 Jan 14  2009 inputrc
drwxr-xr-x  1 root root       0 May  7  2010 insserv
-rw-r--r--  1 root root     839 Apr 10  2012 insserv.conf
drwxr-xr-x  1 root root       0 Jun 11 20:53 insserv.conf.d
drwxr-xr-x  1 root root       0 Jul 25  2008 iproute2
-rw-r--r--  1 root root      35 May 21 14:01 issue
-rw-r--r--  1 root root      28 May 21 14:01 issue.net
-rw-r--r--  1 root root   14293 Sep 14 15:41 ld.so.cache
-rw-r--r--  1 root root      52 Sep 14 15:41 ld.so.conf
drwxr-xr-x  1 root root       0 Oct 22  2010 ld.so.conf.d
drwxr-xr-x  1 root root       0 Jun 27 20:25 ldap
drwxr-xr-x  1 root root       0 Jun 30 17:43 libnl-3
drwxr-xr-x  1 root root       0 Mar 27  2012 lighttpd
-rw-r--r--  1 root root    2570 Feb 12  2012 locale.alias
-rw-r--r--  1 root root    8594 Aug 29 14:09 locale.gen
-rw-r--r--  1 root root    1243 Aug 29 14:11 locale.nopurge
-rw-r--r--  1 root root     118 Aug 29 12:49 localtime
drwxr-xr-x  1 root root       0 Sep  4 12:29 logcheck
-rw-r--r--  1 root root   10185 May 26 00:04 login.defs
-rw-r--r--  1 root root     599 Oct  8  2008 logrotate.conf
drwxr-xr-x  1 root root       0 Sep 19 09:41 logrotate.d
-rw-r--r--  1 root root     111 Sep  8  2008 magic
-rw-r--r--  1 root root     111 Sep  8  2008 magic.mime
-rw-r--r--  1 root root    1563 Aug 30 15:04 mailcap
-rw-r--r--  1 root root     449 Jun 18  2008 mailcap.order
-rw-r--r--  1 root root      10 Aug 30 14:48 mailname
drwxr-xr-x  1 root root       0 Aug  5 13:11 mc
-rw-r--r--  1 root root   24269 Feb 12  2012 mime.types
drwxr-xr-x  1 root root       0 Feb 27  2008 minicom
-rw-r--r--  1 root root     956 Jul 30 23:14 mke2fs.conf
drwxr-xr-x  1 root root       0 Apr  7  2011 modprobe.d
-rw-r--r--  1 root root     283 Jan 21  2011 modules
drwxr-xr-x  1 root root       0 Jan 14  2009 modutils
-rw-r--r--  1 root root     286 Jan  6  2011 motd
lrwxrwxrwx  1 root root      12 Sep  5 15:58 mtab -> /proc/mounts
-rw-r--r--  1 root root    8453 Apr 16  2010 nanorc
drwxr-xr-x  1 root root       0 Oct 15 14:28 network
-rw-r--r--  1 root root      60 Jan  6  2011 networks
-rw-r--r--  1 root root     475 Aug 28  2006 nsswitch.conf
-rw-r--r--  1 root root    1988 Oct 17  2010 ntp.conf
drwxr-xr-x  1 root root       0 Jan  6  2011 opt
-rw-r--r--  1 root root      94 May 21 14:01 os-release
-rw-r--r--  1 root root     552 Mar 17  2009 pam.conf
drwxr-xr-x  1 root root       0 Dec  6  2009 pam.d
-rw-r--r--  1 root root    1168 Oct 16 15:04 passwd
-rw-------  1 root root    1165 Oct 16 15:04 passwd-
drwxr-xr-x  1 root root       0 Aug 29 13:31 perl
drwxr-xr-x  1 root root       0 Aug 29 13:17 php5
drwxr-xr-x  1 root dip        0 Mar 28  2011 ppp
-rw-r--r--  1 root root     851 Jul 29  2011 profile
drwxr-xr-x  1 root root       0 Jun 17 19:09 profile.d
-rw-r--r--  1 root root    2933 May 13 23:11 protocols
drwxr-xr-x  1 root root       0 Mar 28  2011 python
drwxr-xr-x  1 root root       0 Jan 25  2010 python2.5
-rwxr-xr-x  1 root root     975 Oct 15 14:50 rc.local
drwxr-xr-x  1 root root       0 Sep  5 15:58 rc0
drwxr-xr-x  1 root root       0 Sep 14 15:42 rc0.d
drwxr-xr-x  1 root root       0 Sep 14 15:41 rc1.d
drwxr-xr-x  1 root root       0 Oct 15 13:48 rc2
drwxr-xr-x  1 root root       0 Oct 15 13:50 rc2.d
drwxr-xr-x  1 root root       0 Sep 19 09:41 rc3.d
drwxr-xr-x  1 root root       0 Sep 19 09:41 rc4.d
drwxr-xr-x  1 root root       0 Sep 19 09:41 rc5.d
drwxr-xr-x  1 root root       0 Sep  5 15:58 rc6
drwxr-xr-x  1 root root       0 Sep 14 15:42 rc6.d
drwxr-xr-x  1 root root       0 Jul  4 12:43 rcS
drwxr-xr-x  1 root root       0 Sep  5 15:58 rcS.d
-rw-r--r--  1 root root      20 Jun 25 12:01 resolv.conf
drwxr-xr-x  1 root root       0 Aug 29 13:30 resolvconf
-rwxr-xr-x  1 root root     268 Dec 31  2011 rmt
-rw-r--r--  1 root root     887 Aug 28  2008 rpc
-rw-r--r--  1 root root    2632 May  4 20:38 rsyslog.conf
-rw-r--r--  1 root root    1303 Jun 18 14:38 securetty
-rw-r--r--  1 root root    3964 May 26 00:04 securetty.dpkg-dist
drwxr-xr-x  1 root root       0 Mar 24  2009 security
drwxr-xr-x  1 root root       0 Jun 10 06:49 selinux
-rw-r--r--  1 root root       8 Sep 14 15:29 serial
-rw-r--r--  1 root root   19398 May 13 23:11 services
drwxr-xr-x  1 root root       0 Jun  9 09:53 sgml
-rw-r-----  1 root shadow   887 Oct 16 15:04 shadow
-rw-------  1 root root     763 Sep 14 15:32 shadow-
-rw-r--r--  1 root root     165 Jun 25 13:02 shells
drwxr-xr-x  1 root root       0 May 13  2008 skel
drwxr-xr-x  1 root root       0 Sep  4 12:23 ssh
drwxr-xr-x  1 root root       0 Jul 29 14:12 ssl
-rw-r--r--  1 root root     771 Jun  9 10:00 staff-group-for-usr-local
-rw-r--r--  1 root root    2274 Mar 28  2012 sysctl.conf
-rw-r--r--  1 root root    2082 Feb 24  2010 sysctl.conf.dpkg-dist
drwxr-xr-x  1 root root       0 Aug 30 13:52 sysctl.d
drwxr-xr-x  1 root root       0 Sep 19 09:41 syslog-ng
-rw-r--r--  1 root root    1614 Jan 13  2012 syslog.conf
drwxr-xr-x  1 root root       0 Sep  4 12:29 systemd
drwxr-xr-x  1 root root       0 Jun 27 15:28 terminfo
-rw-r--r--  1 root root       8 Aug 29 12:49 timezone
-rw-r--r--  1 root root    1260 May 30  2008 ucf.conf
drwxr-xr-x  1 root root       0 Aug 18 13:05 udev
drwxr-xr-x  1 root root       0 Sep  4 12:23 ufw
-rw-------  1 root root    5908 Jan 14  2009 vtund.conf
drwxr-xr-x  1 root root       0 Mar 27  2009 wpa_supplicant
drwxr-xr-x  1 root root       0 Aug 29 13:34 xml

> meg a /etc/pam.d -ről?

armebi:/etc/pam.d# ls -la /etc/pam.d/
total 22
drwxr-xr-x 1 root root    0 Dec  6  2009 .
drwxrwxrwt 1 root root  240 Oct 16 15:05 ..
-rw-r--r-- 1 root root  384 Dec  6  2009 chfn
-rw-r--r-- 1 root root   92 Feb 15  2011 chpasswd
-rw-r--r-- 1 root root  581 Dec  6  2009 chsh
-rw-r--r-- 1 root root 1208 Aug 29 12:51 common-account
-rw-r--r-- 1 root root 1221 Aug 29 12:51 common-auth
-rw-r--r-- 1 root root 1440 Aug 29 12:51 common-password
-rw-r--r-- 1 root root 1156 Aug 29 12:51 common-session
-rw-r--r-- 1 root root 1154 Aug 29 12:52 common-session-noninteractive
-rw-r--r-- 1 root root  527 Jul  3 22:15 cron
-rw-r--r-- 1 root root 4779 May 25 21:56 login
-rw-r--r-- 1 root root   92 Feb 15  2011 newusers
-rw-r--r-- 1 root root  520 Mar 17  2009 other
-rw-r--r-- 1 root root   92 Dec  6  2009 passwd
-rw-r--r-- 1 root root  168 Dec  1  2008 ppp
-rw-r--r-- 1 root root 1462 May 21 23:19 sshd
-rw-r--r-- 1 root root 2305 Dec  6  2009 su

-- 
Üdvözlettel:
Gerendás Zoltán
_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz