apache user does not exist

后端 未结 5 1057
情书的邮戳
情书的邮戳 2021-01-13 11:06

I\'m trying to run the command, chown -R apache:apache xyz But I\'m getting error, chown: apache:apache\': invalid user

Then I tried for the user www-da

5条回答
  •  清歌不尽
    2021-01-13 11:25

    I've got the same problem when triyng to make the chroot with only some libraries. When I tried to su the same message was happened:

    su: user xxxxxdoes not exist
    

    Seems not all libraries was copied to the chroot subdirectory, so you can try to copy all if you've prepared the chroot dir

    cp --parent -avR /usr/lib64 /CHROOT_DIR
    cp --parent -avR /usr/lib /CHROOT_DIR
    ln -s /CHROOT_DIR/usr/lib64 /CHROOT_DIR/lib64
    ln -s /CHROOT_DIR/usr/lib64 /CHROOT_DIR/lib64
    

提交回复
热议问题