Re: can't create users under openvz container

"Dmitry V. Levin" <[email protected]>
Newsgroups gmane.linux.openwall.user
Message-ID <[email protected]>
On Tue, Sep 29, 2009 at 11:53:41PM +0400, [email protected] wrote:
[...]
> 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)

Looks like something odd happened with permissions, either with
/etc/tcb/crocodil or one of its parents.

/etc/tcb/crocodil should be owned by crocodil:auth and have access mode 02710.
/etc/tcb -- root:shadow and 0710.
/etc and / should have access mode a+x.


-- 
ldv
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkrCZ7UACgkQfKvmrJ41Nh672ACfV4wdXvS/4nor1/9s9oP4pWSx
ovQAoJIevbGwNqFEvL1vGDefxiX2zS24
=AKXS
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.