I have created vserver container(SELINUX=NO) and assigned private IP to
each container and also updated the NAt rules for ssh.
Changed the listen address on the host machine in the sshd_config (ssh on
host is an port 22)
Changed the listen address and also port number on the vserver container
in the sshd_config (ssh on container is at port 6900)
I installed openssh-5.2p1 on the vserver without selinux.
But when i try to do ssh as root user from another PC, i get the
Aug 31 15:41:56 vps1 sshd: Accepted password for root from
172.28.9.149 port 38009 ssh2
Aug 31 15:41:56 vps1 sshd: fatal: ssh_selinux_getctxbyname:
ssh_selinux_getctxbyname: security_getenforce() failed
I am not able to create users on the vserver container. i get the
Adding user newuser...
Adding new group newuser (1000).
groupadd: PAM authentication failed
adduser: `/usr/sbin/groupadd -g 1000 newuser' returned error code 1.
Removing group `newuser'.
groupdel: PAM authentication failed
Received on Mon Aug 31 05:43:50 2009