Gentoo Archives: gentoo-hardened

From: Matt Poletiek <chill550@×××××.com>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] problem when using 'su'
Date: Tue, 09 Jan 2007 12:55:19
Message-Id: 1d624cdd0701090453u7de56cffhc2a54c0e3abcf5a0@mail.gmail.com
1 I was upgrading my kernel/patching it with grsec the other day when
2 all of a sudden I couldnt su as a normal user anymore. I dont know how
3 this would apply considering the new kernel wasnt (and still isnt)
4 booted yet.
5
6 when attempting to execute 'su' as a normal error I get these grsec logs
7
8 grsec: exec of /bin/su (su ) by /bin/bash[bash:31770]
9 uid/euid:1000/1000 gid/egid:1000/1000, parent /bin/bash[bash:19406]
10 uid/euid:1000/1000 gid/egid:1000/1000
11 grsec: denied untrusted exec of /lib64/ld-2.4.so by /bin/su[su:31770]
12 uid/euid:1000/1000 gid/egid:1000/1000, parent /bin/bash[bash:19406]
13 uid/euid:1000/1000 gid/egid:1000/1000
14 grsec: signal 11 sent to /bin/su[su:31770] uid/euid:1000/1000
15 gid/egid:1000/1000, parent /bin/bash[bash:19406] uid/euid:1000/1000
16 gid/egid:1000/1000
17
18 When attempting to execute 'nano' I get these logs.
19
20
21 grsec: exec of /bin/nano (nano ) by /bin/bash[bash:4440]
22 uid/euid:1000/1000 gid/egid:1000/1000, parent /bin/bash[bash:19406]
23 uid/euid:1000/1000 gid/egid:1000/1000
24 grsec: denied untrusted exec of /lib64/ld-2.4.so by
25 /bin/nano[nano:4440] uid/euid:1000/1000 gid/egid:1000/1000, parent
26 /bin/bash[bash:19406] uid/euid:1000/1000 gid/egid:1000/1000
27 grsec: signal 11 sent to /bin/nano[nano:4440] uid/euid:1000/1000
28 gid/egid:1000/1000, parent /bin/bash[bash:19406] uid/euid:1000/1000
29 gid/egid:1000/1000
30 grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE
31 against limit 0 for /bin/bash[nano:4440] uid/euid:1000/1000
32 gid/egid:1000/1000, parent /bin/bash[bash:19406] uid/euid:1000/1000
33 gid/egid:1000/1000
34
35 How do these relate? What is ld-2.4.so? Whats so bad about it?
36
37 --
38 Matthew Poletiek
39 www.chill-fu.net
40 --
41 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] problem when using 'su' pageexec@××××××××.hu