About this list Date view Thread view Subject view Author view Attachment view

From: Nico Erfurth (masta_at_perlgolf.de)
Date: Mon 16 Dec 2002 - 14:51:39 GMT


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_at_smtp ~# su user
su: cannot run /bin/bash: Permission denied

ssh user_at_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


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 16 Dec 2002 - 15:25:10 GMT by hypermail 2.1.3