kernel 2.4.21 - mdk patch 13 reiserfs pam enabled gentoo Reproducible: Always Steps to Reproduce: 1. 2. 3.
uhh could you provide some more information here ?
Additional information is: 1 when logged into system as root, i try to "su aaa" where aaa is a user created with "adduser aaa" + "passwd aaa". 2 error is: cannot execute /bin/bash : permission denied 3 i tried to see permissions to su (is suid) 4 all related libs are correct (listed with ldd su) in permission mask 5 with "strace su aaa" the breaking point is into execve ... 6 it seems that the kernel is ok 'cause i used gentoo live cd and then chrooted into my filesystem and nothing better happened su aaa -> permission denied 7 it seems that when i copied filesystem structure from gentoo i used permissions related to the original file.... 8 now i'm going to xfs to avoid the problem!!! ;-) Luca
What does # ls -l /bin/bash give you?
Problem was in permission mask of /dev filesystem!! After a long trial with: -> Change of user shell (bash,sh,/dev/null.......) Solution: 1)I created a new reiserfs partition 2)I copied "on the fly" all directoried from old partition to new one except of ->Dev ->Mnt (For obvious reasons) 3)I rebooted with live cd Gentoo 4)I copied old /dev Filesystem into new Filesystem Without using the permission copy i.e. cp -R /mnt/old/dev /mnt/new/dev 5)I corrected permission entries on pty entries. I think that problem were caused when i extracted the portage level one when i was logged as root in live cd.......