View Single Post
  #6  
Old 5th February 2009, 05:46
Heeter Heeter is offline
Senior Member
 
Join Date: Dec 2007
Posts: 188
Thanks: 19
Thanked 2 Times in 2 Posts
Default

Apparmor has been disabled, and uninstalled.

output:
Code:
root@server2:/tmp# ls -l /bin/sh
lrwxrwxrwx 1 root root 9 2009-01-24 20:20 /bin/sh -> /bin/bash
root@server2:/tmp#
Which log should I look at?
Code:
root@server2:/tmp# cd /var/log
root@server2:/var/log# ls -la
total 2440
drwxr-xr-x 14 root      root       4096 2009-02-04 06:33 .
drwxr-xr-x 14 root      root       4096 2009-01-26 22:15 ..
drwxr-x---  2 root      adm        4096 2009-02-02 06:43 apache2
drwxr-xr-x  2 root      root       4096 2009-02-01 06:43 apt
-rw-r-----  1 syslog    adm      165529 2009-02-04 21:40 auth.log
-rw-r-----  1 syslog    adm      277288 2009-02-01 06:47 auth.log.0
-rw-r-----  1 syslog    adm       11251 2009-01-25 06:47 auth.log.1.gz
-rw-r-----  1 root      adm          31 2009-01-19 21:04 boot
-rw-rw----  1 root      utmp          0 2009-02-01 06:43 btmp
-rw-rw-r--  1 root      utmp          0 2009-01-19 21:04 btmp.1
drwxr-xr-x  2 root      root       4096 2009-01-19 22:08 ConsoleKit
-rw-r-----  1 syslog    adm       84947 2009-02-04 21:40 daemon.log
-rw-r-----  1 syslog    adm      140399 2009-02-01 06:47 daemon.log.0
-rw-r-----  1 syslog    adm        8279 2009-01-25 06:47 daemon.log.1.gz
-rw-r-----  1 syslog    adm           0 2009-02-01 06:47 debug
-rw-r-----  1 syslog    adm       52409 2009-01-29 20:26 debug.0
-rw-r-----  1 syslog    adm        5219 2009-01-19 23:35 debug.1.gz
drwxr-xr-x  2 root      root       4096 2008-10-24 16:44 dist-upgrade
-rw-r-----  1 root      adm       59346 2009-01-29 20:26 dmesg
-rw-r-----  1 root      adm       60252 2009-01-29 19:28 dmesg.0
-rw-r-----  1 root      adm       13351 2009-01-19 23:34 dmesg.1.gz
-rw-r-----  1 root      adm       13393 2009-01-19 22:05 dmesg.2.gz
-rw-r-----  1 root      adm          59 2009-01-19 21:04 dmesg.3.gz
-rw-r-----  1 root      adm       41198 2009-02-01 21:31 dpkg.log
-rw-r-----  1 root      adm      375192 2009-01-26 23:21 dpkg.log.1
-rw-r--r--  1 root      root      32064 2009-02-03 21:36 faillog
-rw-r--r--  1 root      root        852 2009-01-26 23:05 fontconfig.log
drwxr-xr-x  2 root      root       4096 2009-01-19 21:04 fsck
-rw-r-----  1 syslog    adm           0 2009-02-01 06:47 kern.log
-rw-r-----  1 syslog    adm      180881 2009-01-29 20:34 kern.log.0
-rw-r-----  1 syslog    adm       27876 2009-01-21 20:18 kern.log.1.gz
drwxr-xr-x  2 landscape root       4096 2009-01-19 21:25 landscape
-rw-rw-r--  1 root      utmp     292584 2009-02-04 21:39 lastlog
-rw-r-----  1 syslog    adm           0 2009-01-19 21:05 lpr.log
-rw-r-----  1 syslog    adm           0 2009-01-19 21:05 mail.err
-rw-r-----  1 syslog    adm           0 2009-02-01 06:47 mail.info
-rw-r-----  1 syslog    adm        1290 2009-01-29 20:26 mail.info.0
-rw-r-----  1 syslog    adm           0 2009-02-01 06:47 mail.log
-rw-r-----  1 syslog    adm        1290 2009-01-29 20:26 mail.log.0
-rw-r-----  1 syslog    adm           0 2009-01-19 21:05 mail.warn
-rw-r-----  1 syslog    adm        9293 2009-02-04 21:28 messages
-rw-r-----  1 syslog    adm      145712 2009-02-01 06:43 messages.0
-rw-r-----  1 syslog    adm       23770 2009-01-25 06:46 messages.1.gz
drwxr-s---  2 mysql     adm        4096 2009-01-24 21:13 mysql
-rw-r-----  1 mysql     adm           0 2009-01-24 21:13 mysql.err
-rw-r-----  1 mysql     adm           0 2009-02-04 06:33 mysql.log
-rw-r-----  1 mysql     adm          20 2009-02-03 07:12 mysql.log.1.gz
-rw-r-----  1 mysql     adm          20 2009-02-02 06:43 mysql.log.2.gz
-rw-r-----  1 mysql     adm          20 2009-02-01 06:43 mysql.log.3.gz
-rw-r-----  1 mysql     adm          20 2009-01-31 06:39 mysql.log.4.gz
-rw-r-----  1 mysql     adm          20 2009-01-30 06:57 mysql.log.5.gz
-rw-r-----  1 mysql     adm          20 2009-01-29 06:49 mysql.log.6.gz
-rw-r-----  1 mysql     adm          20 2009-01-28 06:34 mysql.log.7.gz
drwxr-sr-x  2 news      news       4096 2009-01-19 22:05 news
drwxr-xr-x  2 ntp       ntp        4096 2009-01-06 08:53 ntpstats
drwxrwxr-t  2 root      postgres   4096 2009-02-01 19:37 postgresql
drwxr-xr-x  2 root      root       4096 2009-02-01 06:52 proftpd
-rw-r--r--  1 root      root          0 2009-01-19 21:24 pycentral.log
-rw-r-----  1 syslog    adm       33158 2009-02-04 21:40 syslog
-rw-r-----  1 syslog    adm       52886 2009-02-04 06:30 syslog.0
-rw-r-----  1 syslog    adm        3992 2009-02-03 07:10 syslog.1.gz
-rw-r-----  1 syslog    adm        5281 2009-02-02 06:40 syslog.2.gz
-rw-r-----  1 syslog    adm        3790 2009-02-01 06:42 syslog.3.gz
-rw-r-----  1 syslog    adm        3702 2009-01-31 06:39 syslog.4.gz
-rw-r-----  1 syslog    adm       33045 2009-01-30 06:50 syslog.5.gz
-rw-r-----  1 syslog    adm        3842 2009-01-29 06:40 syslog.6.gz
drwxr-x---  2 tomcat55  adm        4096 2009-02-01 21:31 tomcat5.5
-rw-r--r--  1 root      root     393057 2009-01-29 20:26 udev
-rw-r-----  1 syslog    adm           0 2009-01-19 21:05 user.log
-rw-rw-r--  1 root      utmp       9600 2009-02-04 21:39 wtmp
-rw-rw-r--  1 root      utmp      23040 2009-01-29 23:05 wtmp.1
root@server2:/var/log#

Thanks Falko,

Heeter
Reply With Quote