[vserver] ssh to vserver fails

From: Chaitra Gorantla <Chaitra.Gorantla_at_lntinfotech.com>
Date: Mon 31 Aug 2009 - 05:42:19 BST
Message-ID: <OFAA59B5BC.01D8C92E-ON65257623.0018F7A9-65257623.0019D88D@lntinfotech.com>

HI all,

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
following error:

Aug 31 15:41:56 vps1 sshd[28075]: Accepted password for root from port 38009 ssh2
Aug 31 15:41:56 vps1 sshd[28075]: fatal: ssh_selinux_getctxbyname:
ssh_selinux_getctxbyname: security_getenforce() failed

I am not able to create users on the vserver container. i get the
following error:
#adduser newuser
 Adding user newuser...
 Adding new group newuser (1000).
 groupadd: PAM authentication failed
 adduser: `/usr/sbin/groupadd -g 1000 newuser' returned error code 1.
 Cleaning up.
 Removing group `newuser'.
 groupdel: PAM authentication failed

Please suggest.

Received on Mon Aug 31 05:43:50 2009

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 31 Aug 2009 - 05:43:54 BST by hypermail 2.1.8