29 Sep 2009 21:53
can't create users under openvz container
<croco <at> openwall.com>
2009-09-29 19:53:41 GMT
2009-09-29 19:53:41 GMT
Colleagues, I've just run into another issue. I'm using Owl from the recent -current ISO both for the HN and for the VPS; the O.S. template have been created following the instructions found on this list's archives (thanks Galaxy!), here: http://www.openwall.com/lists/owl-users/2007/05/08/2 Unfortunately I'm using a kernel taken right from openvz.org, not the Openwall one, because I couln't find the OpenVZ kernel at the Openwall ftp site. The VPS runs, procesess seem Okay, it pings and can be accessed by ssh, but simple useradd command fails like this: varan101!root:~# useradd -u 1000 crocodil useradd: cannot lock shadow password file varan101!root:~# Using strace I see the following: open("/etc/tcb/crocodil/shadow.lock", O_WRONLY|O_CREAT|O_NOCTTY|O_NONBLOCK|O_NOFOLLOW, 0600) = -1 EACCES (Permission denied) The kernel version is this: Linux XXXXXXXXXXXXXXXXX 2.6.18-ovz028stab056.1 #1 Mon Aug 18 13:00:29 MSD 2008 i686 GNU/Linux May be this is a known iissue? What am I doing wrong?(Continue reading)
2All: I've just created a wiki page with an instruction on Owl-based
template creation actually based on the instruction published by Galaxy on
this list 2 years ago. The instruction contains more details (e.g. how to
use 'make installworld'), some links, the notice about "chmod 755 /", and
also --ostemplate instead of (erroneous) --os-template. However, the
instruction perhaps needs to be improved further, so everyone's welcome to
take a part
RSS Feed