Hi list,

I'm new to vservers, but not new to linux.

I've setup vservers with 2.4.20-ctx16 and it mostly worked fine at the first look, but now I run into trouble :-/

After adding a user and try to su to the new user, it get this error.

root@smtp ~# su user
su: cannot run /bin/bash: Permission denied

ssh user@vserver does fail too.

I checked the strace log of su user and found some strange things.

Everything works fine, till this point:

close(4) = 0
read(3, "", 4096) = 0
close(3) = 0
munmap(0x4015e000, 4096) = 0
getuid() = 0
setfsuid(500) = 0 <--- is this the problem?
open("/etc/pwdb.conf", O_RDONLY) = -1 EACCES (Permission denied)
getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0
setrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0
getuid() = 0
getuid() = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
readlink("/proc/self/fd/0", 0xbffff7fc, 511) = -1 EACCES (Permission denied)
fstat(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0

and so on .... every open() fails with EACCES.

The permissions on the files are correct.

Any hints?
Something I should have a look into?

ciao

Reply via email to